This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 00a51520832d3b743aa1fb8e39954744a0d10481
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Tue Oct 8 15:34:21 2019 +0200

    chore(install): Improve install command message when global option is set
---
 pkg/cmd/install.go | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go
index 65f65c3..77569e5 100644
--- a/pkg/cmd/install.go
+++ b/pkg/cmd/install.go
@@ -269,7 +269,11 @@ func (o *installCmdOptions) install(cobraCmd 
*cobra.Command, _ []string) error {
                                }
                        }
 
-                       fmt.Println("Camel K installed in namespace", namespace)
+                       if o.global {
+                               fmt.Println("Camel K installed in namespace", 
namespace, "(global mode)")
+                       } else {
+                               fmt.Println("Camel K installed in namespace", 
namespace)
+                       }
                }
        }
 

Reply via email to