christophd commented on code in PR #5188: URL: https://github.com/apache/camel-k/pull/5188#discussion_r1512342932
########## 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: I would not put too much effort into fixing this on the kamel CLI as it may be fixed already when using the Camel K JBang plugin instead -- 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