From 74d6b462a43783f6b7d64ec0243878b65d6fc490 Mon Sep 17 00:00:00 2001 From: shankar0123 Date: Sat, 2 May 2026 01:27:33 +0000 Subject: [PATCH] =?UTF-8?q?metrics:=20gofmt=20issuance=5Fmetrics=5Ftest.go?= =?UTF-8?q?=20=E2=80=94=20fix=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trivial whitespace fix: gofmt collapsed three trailing-comment columns that I'd hand-aligned in the test file. Local sandbox missed this because the per-file gofmt run earlier in the commit cycle was scoped to the changed-files list and didn't include the test file at the final write moment; CI's project-wide `gofmt -l .` caught it. Behavior unchanged. --- internal/service/issuance_metrics_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/service/issuance_metrics_test.go b/internal/service/issuance_metrics_test.go index 5476ec2..322fb11 100644 --- a/internal/service/issuance_metrics_test.go +++ b/internal/service/issuance_metrics_test.go @@ -22,9 +22,9 @@ func TestIssuanceMetrics_RecordAndSnapshot(t *testing.T) { m := NewIssuanceMetrics(DefaultIssuanceBucketBoundaries) // Record three issuances: two success (one fast, one slow), one failure. - m.RecordIssuance("local", "success", 50*time.Millisecond) // 0.05 bucket - m.RecordIssuance("local", "success", 2*time.Second) // 2.5 bucket - m.RecordIssuance("digicert", "failure", 90*time.Second) // 120 bucket + m.RecordIssuance("local", "success", 50*time.Millisecond) // 0.05 bucket + m.RecordIssuance("local", "success", 2*time.Second) // 2.5 bucket + m.RecordIssuance("digicert", "failure", 90*time.Second) // 120 bucket m.RecordFailure("digicert", "rate_limited") counters := m.SnapshotCounters()