Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Nov 20, 2024
1 parent d1e3078 commit 2deac0e
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 @@ -1609,7 +1609,7 @@ func TestOperationPrefix(t *testing.T) {
go func() {
_ = s.Serve(ln)
}()
status, err := http.Get(fmt.Sprintf("http://%s", ln.Addr().String()))
status, err := http.Get("http://" + ln.Addr().String())
require.NoError(t, err)
require.Equal(t, http.StatusOK, status.StatusCode)
require.NoError(t, s.Close())
Expand All @@ -1619,5 +1619,4 @@ func TestOperationPrefix(t *testing.T) {
require.False(t, strings.HasPrefix(spanName, ":"))
})
}

}

0 comments on commit 2deac0e

Please sign in to comment.