Skip to content

Commit

Permalink
Filename fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
manavellamnimble committed Sep 21, 2020
1 parent 58261cd commit 437357f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyze/secret.go
Expand Up @@ -9,7 +9,7 @@ import (
)

func analyzeSecret(analyzer *troubleshootv1beta2.AnalyzeSecret, getCollectedFileContents func(string) ([]byte, error)) (*AnalyzeResult, error) {
secretData, err := getCollectedFileContents(fmt.Sprintf("secrets/%s/%s.json", analyzer.Namespace, analyzer.SecretName))
secretData, err := getCollectedFileContents(fmt.Sprintf("secrets/%s/%s/%s.json", analyzer.Namespace, analyzer.SecretName, analyzer.Key))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 437357f

Please sign in to comment.