Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
keisku committed May 8, 2024
1 parent 77122fd commit 3a15ff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions explore/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func (o *Options) Complete(f cmdutil.Factory, args []string) error {
}

if gvar, ok := gvarMap[o.inputFieldPath]; ok {
o.inputFieldPathRegex = regexp.MustCompile(".*")
o.gvrs = []schema.GroupVersionResource{gvar.GroupVersionResource}
return nil
}
Expand Down

0 comments on commit 3a15ff9

Please sign in to comment.