fix(host-analyze): certificate analyzer wrong file path (#1807)

This commit is contained in:
Ethan Mosbaugh
2025-07-09 09:32:04 -04:00
committed by GitHub
parent f34c67ec83
commit bc870ce699
+1 -1
View File
@@ -30,7 +30,7 @@ func (a *AnalyzeHostCertificate) Analyze(
}
const nodeBaseDir = "host-collectors/certificate"
localPath := fmt.Sprintf("%s/%s", nodeBaseDir, collectorName)
localPath := fmt.Sprintf("%s/%s.json", nodeBaseDir, collectorName)
fileName := fmt.Sprintf("%s.json", collectorName)
collectedContents, err := retrieveCollectedContents(