mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Remove -k from toCurl output
This commit is contained in:
parent
0a865b6e6e
commit
5bf7bb52fe
2 changed files with 2 additions and 2 deletions
|
|
@ -346,7 +346,7 @@ func (r *requestInfo) toCurl() string {
|
|||
}
|
||||
}
|
||||
|
||||
return fmt.Sprintf("curl -k -v -X%s %s '%s'", r.RequestVerb, headers, r.RequestURL)
|
||||
return fmt.Sprintf("curl -v -X%s %s '%s'", r.RequestVerb, headers, r.RequestURL)
|
||||
}
|
||||
|
||||
// debuggingRoundTripper will display information about the requests passing
|
||||
|
|
|
|||
|
|
@ -480,7 +480,7 @@ func TestDebuggingRoundTripper(t *testing.T) {
|
|||
},
|
||||
{
|
||||
levels: []DebugLevel{DebugCurlCommand},
|
||||
expectedOutputLines: []string{fmt.Sprintf("curl -k -v -X")},
|
||||
expectedOutputLines: []string{fmt.Sprintf("curl -v -X")},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue