Skip to content

Commit 38d8a45

Browse files
authored
fix(host-analyze): certificate analyzer wrong file path (#1807)
1 parent f34c67e commit 38d8a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyze/host_certificate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func (a *AnalyzeHostCertificate) Analyze(
3030
}
3131

3232
const nodeBaseDir = "host-collectors/certificate"
33-
localPath := fmt.Sprintf("%s/%s", nodeBaseDir, collectorName)
33+
localPath := fmt.Sprintf("%s/%s.json", nodeBaseDir, collectorName)
3434
fileName := fmt.Sprintf("%s.json", collectorName)
3535

3636
collectedContents, err := retrieveCollectedContents(

0 commit comments

Comments
 (0)