lburgazzoli commented on code in PR #5188: URL: https://github.com/apache/camel-k/pull/5188#discussion_r1512359296
########## pkg/cmd/root.go: ########## @@ -93,6 +97,10 @@ func kamelPreAddCommandInit(options *RootCmdOptions) *cobra.Command { } func kamelPostAddCommandInit(cmd *cobra.Command) error { + // Requires synchronization as viper bind flag is not able to handle concurrency + m.Lock() + defer m.Unlock() + Review Comment: 100% agree, it was more a consideration about the original design -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org