|
|
@ -195,14 +195,14 @@ func searchChart(r []*search.Result, name string, chartVersion string, devel boo
|
|
|
|
debug("Using '%s' as constrain against '%s'", constrainStr, result.Chart.Metadata.Version)
|
|
|
|
debug("Using '%s' as constrain against '%s'", constrainStr, result.Chart.Metadata.Version)
|
|
|
|
if constrain.Check(version) {
|
|
|
|
if constrain.Check(version) {
|
|
|
|
return result, nil
|
|
|
|
return result, nil
|
|
|
|
} else {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// set 'found' to true because a Repository contains
|
|
|
|
// set 'found' to true because a Repository contains
|
|
|
|
// the Chart but the Version is not newer than
|
|
|
|
// the Chart but the Version is not newer than
|
|
|
|
// the installed one.
|
|
|
|
// the installed one.
|
|
|
|
found = true
|
|
|
|
found = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if !found {
|
|
|
|
if !found {
|
|
|
|
debug("Could not find any Repo which contains %s", name)
|
|
|
|
debug("Could not find any Repo which contains %s", name)
|
|
|
|