Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Aug 30, 2021
1 parent 676e11a commit 94bbde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/kibana/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (conn *Connection) SendWithContext(ctx context.Context, method, extraPath s
req.SetBasicAuth(conn.Username, conn.Password)
}
if conn.APIKey != "" {
v := "ApiKey "+base64.StdEncoding.EncodeToString([]byte(conn.APIKey))
v := "ApiKey " + base64.StdEncoding.EncodeToString([]byte(conn.APIKey))
req.Header.Set("Authorization", v)
}

Expand Down

0 comments on commit 94bbde0

Please sign in to comment.