Fix linting issues

Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
pull/8532/head
Dmitry Chepurovskiy 4 years ago
parent 357a0785bc
commit 09172b468a
No known key found for this signature in database
GPG Key ID: A9B6ED8F3D834514

@ -166,10 +166,10 @@ func (l *List) Run() ([]*release.Release, error) {
} }
// Skip anything that doesn't match the selector // Skip anything that doesn't match the selector
if ! selectorObj.Matches(labels.Set(rel.Labels)) { if !selectorObj.Matches(labels.Set(rel.Labels)) {
return false return false
} }
return true return true
}) })

@ -97,7 +97,7 @@ func (secrets *Secrets) List(filter func(*rspb.Release) bool) ([]*rspb.Release,
secrets.Log("list: failed to decode release: %v: %s", item, err) secrets.Log("list: failed to decode release: %v: %s", item, err)
continue continue
} }
rls.Labels = item.ObjectMeta.Labels rls.Labels = item.ObjectMeta.Labels
if filter(rls) { if filter(rls) {

Loading…
Cancel
Save