Skip to content

Commit

Permalink
Added logs to main.go before os.exit
Browse files Browse the repository at this point in the history
  • Loading branch information
akaitux committed Jan 10, 2024
1 parent 91e0fd2 commit d03580b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/addon-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ func main() {

err := operator.Setup()
if err != nil {
fmt.Printf("Setup is failed: %s\n", err)
fmt.Printf("Setup is failed: %s\n", err)
os.Exit(1)
}

err = operator.Start()
if err != nil {
fmt.Printf("Start is failed: %s\n", err)
fmt.Printf("Start is failed: %s\n", err)
os.Exit(1)
}

Expand Down

0 comments on commit d03580b

Please sign in to comment.