Add more testcases for hooks

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
Yusuke Kuoka
2022-09-19 02:19:42 +00:00
parent 793050cc18
commit dc40ccde2e
7 changed files with 304 additions and 1 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ func (helm *Helm) List(context helmexec.HelmContext, filter string, flags ...str
for k := range helm.Lists {
keys = append(keys, k.String())
}
return "", fmt.Errorf("unexpected list key: %v in %v", key, strings.Join(keys, ", "))
return "", fmt.Errorf("unexpected list key: %v not found in %v", key, strings.Join(keys, ", "))
}
return res, nil
}