From 38d8a45171386784fd3b530de4b9a126a7cd13fc Mon Sep 17 00:00:00 2001 From: Ethan Mosbaugh Date: Wed, 9 Jul 2025 06:32:04 -0700 Subject: [PATCH] fix(host-analyze): certificate analyzer wrong file path (#1807) --- pkg/analyze/host_certificate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyze/host_certificate.go b/pkg/analyze/host_certificate.go index c09196f9..f0fb56a3 100644 --- a/pkg/analyze/host_certificate.go +++ b/pkg/analyze/host_certificate.go @@ -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(