lburgazzoli commented on a change in pull request #76: Context handling
improvement
URL: https://github.com/apache/camel-k/pull/76#discussion_r217886146
##########
File path: pkg/client/cmd/install.go
##########
@@ -57,15 +59,21 @@ func (o *InstallCmdOptions) install(cmd *cobra.Command,
args []string) error {
return nil // TODO better error handling: if here we return err
the help page is shown
}
- if o.ClusterSetupOnly {
+ if o.clusterSetupOnly {
fmt.Println("Camel K cluster setup completed successfully")
} else {
namespace := o.Namespace
- err = install.InstallOperator(namespace)
+ err = install.Operator(namespace)
if err != nil {
return err
}
+
+ err = install.PlatformContexts(namespace)
Review comment:
+1
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services