diff --git a/pkg/action/list.go b/pkg/action/list.go index 9cf7ec138..56008c6fa 100644 --- a/pkg/action/list.go +++ b/pkg/action/list.go @@ -166,10 +166,10 @@ func (l *List) Run() ([]*release.Release, error) { } // 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 true }) diff --git a/pkg/storage/driver/secrets.go b/pkg/storage/driver/secrets.go index 64dcf8216..2e8530d0c 100644 --- a/pkg/storage/driver/secrets.go +++ b/pkg/storage/driver/secrets.go @@ -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) continue } - + rls.Labels = item.ObjectMeta.Labels if filter(rls) {