mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-09-03 00:47:17 +00:00
fix(host-analyze): certificate analyzer wrong file path (#1807)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user