Skip to content

Commit

Permalink
Review Remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
trasc committed Jul 4, 2024
1 parent 4f03cbe commit 1a41128
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/experimental/kjobctl/pkg/cmd/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ func NewCreateCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStr
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
ValidArgs: []string{"job", "interactive"},
RunE: func(cmd *cobra.Command, args []string) error {
// stop the usage if we've got this far
cmd.SilenceUsage = true

err := o.Complete(clientGetter, cmd, args)
if err != nil {
return err
}
// stop the usage if we've got this far
cmd.SilenceUsage = true

return o.Run(cmd.Context(), clientGetter)
},
}
Expand Down

0 comments on commit 1a41128

Please sign in to comment.