fix(helm): search command returns error on index search failures (specifically on regular expression errors)

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
pull/3688/head
Arash Deshmeh 7 years ago
parent b335bfdabf
commit 4b145622a2

@ -83,7 +83,7 @@ func (s *searchCmd) run(args []string) error {
q := strings.Join(args, " ") q := strings.Join(args, " ")
res, err = index.Search(q, searchMaxScore, s.regexp) res, err = index.Search(q, searchMaxScore, s.regexp)
if err != nil { if err != nil {
return nil return err
} }
} }

Loading…
Cancel
Save