Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gab-arrobo authored May 27, 2024
1 parent 0d0d3f0 commit 4e8b207
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion service/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import (

func Test_nrf_url_is_not_overwritten_when_registering(t *testing.T) {
svr := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "banana")
_, err := fmt.Fprintf(w, "banana")
if err != nil {
t.Errorf("Fprintf failed to format/write. Error: %v", err)
}
}))
svr.EnableHTTP2 = true
svr.StartTLS()
Expand Down

0 comments on commit 4e8b207

Please sign in to comment.