Skip to content

Commit

Permalink
run gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Essam Eldaly <[email protected]>
  • Loading branch information
eeldaly committed Dec 13, 2024
1 parent 17f3510 commit 3bd6934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ingester/limiter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ func TestLimiter_FormatError(t *testing.T) {

actual = limiter.FormatError("user-1", errors.Wrap(errMaxSeriesPerMetricLimitExceeded, "{metric name: testMetric}"))
assert.EqualError(t, actual, "per-metric series limit of 20 exceeded, please contact administrator to raise it {metric name: testMetric} (local limit: 0 global limit: 20 actual local limit: 20)")

actual = limiter.FormatError("user-1", errors.Wrap(errMaxMetadataPerMetricLimitExceeded, "{metric name: testMetric}"))
assert.EqualError(t, actual, "per-metric metadata limit of 3 exceeded, please contact administrator to raise it {metric name: testMetric} (local limit: 0 global limit: 3 actual local limit: 3)")

Expand Down

0 comments on commit 3bd6934

Please sign in to comment.