diff --git a/pkg/cli/admin/nodeimage/create.go b/pkg/cli/admin/nodeimage/create.go index 345d2b0c7c..c624f8b793 100644 --- a/pkg/cli/admin/nodeimage/create.go +++ b/pkg/cli/admin/nodeimage/create.go @@ -177,7 +177,7 @@ func (o *CreateOptions) AddFlags(cmd *cobra.Command) { func (o *CreateOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error { err := o.baseComplete(f) if err != nil { - return nil + return err } if o.AssetsDir == "" {