Skip to content

Commit 63c8422

Browse files
authored
Merge pull request #270 from manavellamnimble/secretAnalyzerFixed
Secret analyzer fixed
2 parents 616f6e7 + 53bd307 commit 63c8422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/collect/secret.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func secret(ctx context.Context, client *kubernetes.Clientset, secretCollector *
6767
}
6868

6969
ns = found.Namespace
70-
path = fmt.Sprintf("%s.json", filepath.Join(ns, secretCollector.SecretName, secretCollector.Key))
70+
path = fmt.Sprintf("%s.json", filepath.Join(ns, secretCollector.SecretName))
7171

7272
keyExists := false
7373
keyData := ""

0 commit comments

Comments
 (0)