Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Sep 27, 2024
1 parent 63d77c8 commit 5e2319c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/confighttp/confighttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1613,8 +1613,8 @@ func TestOperationPrefix(t *testing.T) {
go func() {
_ = s.Serve(ln)
}()
uri := fmt.Sprintf("http://%s", ln.Addr().String())
status, err := http.Get(uri)
testUrl := fmt.Sprintf("http://%s", ln.Addr().String())
status, err := http.Get(testUrl)
require.NoError(t, err)
require.Equal(t, http.StatusOK, status.StatusCode)
require.NoError(t, s.Close())
Expand Down

0 comments on commit 5e2319c

Please sign in to comment.