Fix variables override

This commit is contained in:
Nikolai Rodionov 2024-05-13 12:20:57 +02:00
parent 6bb24975b7
commit 1b31217ab3
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -106,7 +106,6 @@ func (app *Application) Create(ctx context.Context) error {
log.Error(err, "Couldn't find the config file") log.Error(err, "Couldn't find the config file")
prettyCfgSupport = false prettyCfgSupport = false
} else { } else {
cfgSchema := map[string]*helmrelease.PrettyConfigSchema{}
err = yaml.Unmarshal(cfgSchemaPath, cfgSchema) err = yaml.Unmarshal(cfgSchemaPath, cfgSchema)
if err != nil { if err != nil {
log.Error(err, "Couldn't parse the pretty config") log.Error(err, "Couldn't parse the pretty config")