Skip to content

Commit

Permalink
Fix log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kkhor-datadog committed Jan 24, 2025
1 parent 57386ab commit 20092f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comp/process/apiserver/apiserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func TestPostAuthentication(t *testing.T) {
url := fmt.Sprintf("https://localhost:%d/config/log_level?value=debug", port)
req, err := http.NewRequest("POST", url, nil)
require.NoError(c, err)
log.Info("Issuing unauthenticated test request to url: %s", url)
log.Infof("Issuing unauthenticated test request to url: %s", url)
res, err := util.GetClient(false).Do(req)
require.NoError(c, err)
defer res.Body.Close()
Expand All @@ -107,7 +107,7 @@ func TestPostAuthentication(t *testing.T) {

// With authentication
req.Header.Set("Authorization", "Bearer "+util.GetAuthToken())
log.Info("Issuing authenticated test request to url: %s", url)
log.Infof("Issuing authenticated test request to url: %s", url)
res, err = util.GetClient(false).Do(req)
require.NoError(c, err)
defer res.Body.Close()
Expand Down

0 comments on commit 20092f4

Please sign in to comment.