Fix CircleCI 'test-style' error

The Code is correct and works correctly, but CircleCI claims that it is
wrong.

Signed-off-by: Emanuel Bennici <eb@fabmation.de>
pull/7021/head
Emanuel Bennici 6 years ago
parent a42e7eb6cc
commit c05d789151
No known key found for this signature in database
GPG Key ID: 17FA2D56BAD01661

@ -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)
if constrain.Check(version) {
return result, nil
} else {
}
// set 'found' to true because a Repository contains
// the Chart but the Version is not newer than
// the installed one.
found = true
}
}
}
if !found {
debug("Could not find any Repo which contains %s", name)

Loading…
Cancel
Save