mirror of https://github.com/helm/helm.git
Warn when we fallback to a different version on `helm pull`
Close: https://github.com/helm/helm/issues/31253 Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
This commit is contained in:
parent
e2cbc5c0c9
commit
9e2d4680e1
|
@ -215,6 +215,7 @@ func (i IndexFile) Get(name, version string) (*ChartVersion, error) {
|
|||
}
|
||||
|
||||
if constraint.Check(test) {
|
||||
slog.Warn("unable to find exact version; falling back to closest available version", "chart", name, "requested", version, "selected", ver.Version)
|
||||
return ver, nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue