Skip to content

Commit e577341

Browse files
Update internal/pkg/auth/auth.go
Co-authored-by: cgoetz-inovex <carlo.goetz@inovex.de>
1 parent 4648d9a commit e577341

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/pkg/auth/auth.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ func debugHTTPRequest(p *print.Printer, req *http.Request) {
257257
if p == nil || req == nil {
258258
return
259259
}
260+
if !p.IsVerbosityDebug() {
261+
return
262+
}
260263

261264
p.Debug(print.DebugLevel, "=== HTTP REQUEST ===")
262265
p.Debug(print.DebugLevel, "Method: %s", req.Method)

0 commit comments

Comments
 (0)