Skip to content

Commit 991be92

Browse files
committed
fix panic message
1 parent 644f3ab commit 991be92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/manifests/kustomize.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func NewKustomizeGenerator(fsys fs.FS, kustomizationPath string, templateSuffix
7979
name, err := filepath.Rel(kustomizationPath, file)
8080
if err != nil {
8181
// TODO: is it ok to panic here in case of error ?
82-
panic(err)
82+
panic("this cannot happen")
8383
}
8484
if t == nil {
8585
t = template.New(name)

0 commit comments

Comments
 (0)