Update pkg/state/create.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2025-04-07 08:24:11 +08:00
parent fdb00f44a9
commit a5a44e5242
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (c *StateCreator) Parse(content []byte, baseDir, file string) (*HelmState,
if err == io.EOF {
break
} else if err != nil {
return nil, &StateLoadError{fmt.Sprintf("failed to read %s: reading document at index %d, you shuld add .gotmpl extension to your helmfile to enable helmfile to load it as a template since helmfile v1", file, i), err}
return nil, &StateLoadError{fmt.Sprintf("failed to read %s: reading document at index %d, you should add .gotmpl extension to your helmfile to enable helmfile to load it as a template since helmfile v1", file, i), err}
}
if err := mergo.Merge(&state, &intermediate, mergo.WithAppendSlice); err != nil {