Skip to content

Commit

Permalink
Update cmd/client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Harshavardhana <[email protected]>
  • Loading branch information
jiuker and harshavardhana authored Feb 10, 2025
1 parent 4019d83 commit 1e9ee66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ func (config *Config) initTransport(withS3v2 bool) {
// return nil, probe.NewError(e)
// }
}
if globalCustomHeader != nil {
if len(globalCustomHeader) > 0 {
transport = headerRoundTripper{tr}
} else {
transport = tr
Expand Down

0 comments on commit 1e9ee66

Please sign in to comment.