forked from LaconicNetwork/kompose
Flag validation called on up and down
On kompose up and kompose down flag validation was done which is validating flags that are not there in kompose up and kompose down
This commit is contained in:
@@ -43,9 +43,6 @@ var upCmd = &cobra.Command{
|
||||
Provider: strings.ToLower(GlobalProvider),
|
||||
EmptyVols: UpEmptyVols,
|
||||
}
|
||||
|
||||
// Validate before doing anything else. Use "bundle" if passed in.
|
||||
app.ValidateFlags(GlobalBundle, args, cmd, &UpOpt)
|
||||
},
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
app.Up(UpOpt)
|
||||
|
||||
Reference in New Issue
Block a user