nicolaferraro commented on a change in pull request #76: Context handling
improvement
URL: https://github.com/apache/camel-k/pull/76#discussion_r217884904
##########
File path: pkg/client/cmd/install.go
##########
@@ -20,19 +20,16 @@ package cmd
import (
"fmt"
+ "os"
+
"github.com/apache/camel-k/pkg/install"
"github.com/spf13/cobra"
"k8s.io/apimachinery/pkg/api/errors"
- "os"
)
-type InstallCmdOptions struct {
- *RootCmdOptions
- ClusterSetupOnly bool
-}
-
+// NewCmdInstall --
func NewCmdInstall(rootCmdOptions *RootCmdOptions) *cobra.Command {
- options := InstallCmdOptions{
+ options := installCmdOptions{
Review comment:
Ok, I'll setup golint and add it to the developer guide :)
----------------------------------------------------------------
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