Skip to content

Commit 3a15ff9

Browse files
committed
fix regex
1 parent 77122fd commit 3a15ff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

explore/options.go

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ func (o *Options) Complete(f cmdutil.Factory, args []string) error {
141141
}
142142

143143
if gvar, ok := gvarMap[o.inputFieldPath]; ok {
144+
o.inputFieldPathRegex = regexp.MustCompile(".*")
144145
o.gvrs = []schema.GroupVersionResource{gvar.GroupVersionResource}
145146
return nil
146147
}

0 commit comments

Comments
 (0)