changing errors back to warns

Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
pull/30603/head
Robert Sirchia 7 months ago
parent 4422000330
commit 2192c4e0d1
No known key found for this signature in database
GPG Key ID: C2D40F4D8196E874

@ -51,7 +51,7 @@ func processDependencyConditions(reqs []*chart.Dependency, cvals Values, cpath s
slog.Warn("returned non-bool value", "path", c, "chart", r.Name) slog.Warn("returned non-bool value", "path", c, "chart", r.Name)
} else if _, ok := err.(ErrNoValue); !ok { } else if _, ok := err.(ErrNoValue); !ok {
// this is a real error // this is a real error
slog.Error("the method PathValue returned error", slog.Any("err", err)) slog.Warn("the method PathValue returned error", slog.Any("err", err))
} }
} }
} }
@ -254,7 +254,7 @@ func processImportValues(c *chart.Chart, merge bool) error {
// get child table // get child table
vv, err := cvals.Table(r.Name + "." + child) vv, err := cvals.Table(r.Name + "." + child)
if err != nil { if err != nil {
slog.Error("ImportValues missing table from chart", "chart", r.Name, "value", err) slog.Warn("ImportValues missing table from chart", "chart", r.Name, "value", err)
continue continue
} }
// create value map from child to be merged into parent // create value map from child to be merged into parent
@ -271,7 +271,7 @@ func processImportValues(c *chart.Chart, merge bool) error {
}) })
vm, err := cvals.Table(r.Name + "." + child) vm, err := cvals.Table(r.Name + "." + child)
if err != nil { if err != nil {
slog.Error("ImportValues missing table", slog.Any("err", err)) slog.Warn("ImportValues missing table", slog.Any("err", err))
continue continue
} }
if merge { if merge {

Loading…
Cancel
Save