rodcloutier commented on code in PR #5104:
URL: https://github.com/apache/camel-k/pull/5104#discussion_r1466598609


##########
pkg/cmd/operator/operator.go:
##########
@@ -295,7 +295,8 @@ func getOperatorImage(ctx context.Context, c ctrl.Reader) 
(string, error) {
        ns := platform.GetOperatorNamespace()
        name := platform.GetOperatorPodName()
        if ns == "" || name == "" {
-               return "", nil
+               // We are most likely running out of cluster. Let's take a 
chance and use the default value

Review Comment:
   Done see #5109. 
   I have taken the liberty of bundling these two changes as:
   * They are scope to the same issue 
   * They are located in the same context/file
   * They are small enough



-- 
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

Reply via email to