We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b06d33 commit f818a6bCopy full SHA for f818a6b
main.go
@@ -81,13 +81,13 @@ func main() {
81
flag.StringVar(&configMapName, "config", "codeflare-operator-config",
82
"The name of the ConfigMap to load the operator configuration from. "+
83
"If it does not exist, the operator will create and initialise it.")
84
- flag.Parse()
85
86
zapOptions := zap.Options{
87
Development: true,
88
TimeEncoder: zapcore.TimeEncoderOfLayout(time.RFC3339),
89
}
90
zapOptions.BindFlags(flag.CommandLine)
+ flag.Parse()
91
92
ctrl.SetLogger(zap.New(zap.UseFlagOptions(&zapOptions)))
93
setupLog.Info("Build info",
0 commit comments