Skip to content

Commit

Permalink
Drop filterSystemLabels usage from Query method
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
  • Loading branch information
dm3ch committed Oct 13, 2023
1 parent 0ec47f8 commit 250f0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/storage/driver/cfgmaps.go
Expand Up @@ -146,7 +146,7 @@ func (cfgmaps *ConfigMaps) Query(labels map[string]string) ([]*rspb.Release, err
cfgmaps.Log("query: failed to decode release: %s", err)
continue
}
rls.Labels = filterSystemLabels(item.ObjectMeta.Labels)
rls.Labels = item.ObjectMeta.Labels
results = append(results, rls)
}
return results, nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/driver/secrets.go
Expand Up @@ -137,7 +137,7 @@ func (secrets *Secrets) Query(labels map[string]string) ([]*rspb.Release, error)
secrets.Log("query: failed to decode release: %s", err)
continue
}
rls.Labels = filterSystemLabels(item.ObjectMeta.Labels)
rls.Labels = item.ObjectMeta.Labels
results = append(results, rls)
}
return results, nil
Expand Down

0 comments on commit 250f0bd

Please sign in to comment.