Skip to content

Commit

Permalink
Remove leading spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
raherrebrugh committed Oct 30, 2024
1 parent 7db6b2f commit 95f03d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/scalers/azure_pipelines_scaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,8 @@ func TestAzurePipelinesMatchedAgent(t *testing.T) {

func TestAzurePipelinesDelayed(t *testing.T) {
var apiStub = httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

// nosemgrep: no-direct-write-to-responsewriter
w.Header().Add("X-RateLimit-Limit", "0")

w.Header().Add("X-RateLimit-Limit", "0")
// nosemgrep: no-direct-write-to-responsewriter
w.Header().Add("X-RateLimit-Delay", "42")
w.WriteHeader(http.StatusOK)
Expand Down

0 comments on commit 95f03d4

Please sign in to comment.