Closed akaitux closed 9 months ago
Oops you've broken JSON logging =) fmt.Printf
should be replaced with log.Error
.
@diafour Sorry, I specifically made an issue so that someone from the team would add these changes, since I don’t know the entire infrastructure. Should I make another pr or will you fix it yourself?
This is not a problem, because this is the first error.
Overview
Added logs before os.Exit(1) with error in main.go
What this PR does / why we need it
If you use the operator as is and do not add the /global-hooks directory to the image, the code exits with exit code 1 without any error messages.
Special notes for your reviewer