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 dffbad7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/confighttp/confighttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1613,8 +1613,7 @@ func TestOperationPrefix(t *testing.T) {
go func() {
_ = s.Serve(ln)
}()
uri := fmt.Sprintf("http://%s", ln.Addr().String())
status, err := http.Get(uri)
status, err := http.Get(fmt.Sprintf("http://%s", ln.Addr().String()))
require.NoError(t, err)
require.Equal(t, http.StatusOK, status.StatusCode)
require.NoError(t, s.Close())
Expand Down

0 comments on commit dffbad7

Please sign in to comment.