Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from cybozu-go/add-error-handling
Browse files Browse the repository at this point in the history
Add error handling for failed index creation
  • Loading branch information
zeroalphat authored Jun 10, 2024
2 parents 62fc40f + 9f89e19 commit 3cb15ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func main() {

if err = indexing.SetupIndexForPod(ctx, mgr); err != nil {
setupLog.Error(err, "unable to create index for pod")
os.Exit(1)
}

if err = (&controller.PodReconciler{
Expand Down

0 comments on commit 3cb15ef

Please sign in to comment.