mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #102520 from coderanger/patch-3
nit: Update comment to match headers change.
This commit is contained in:
commit
61e30f1355
@ -48,8 +48,8 @@ func (c *CommandHeaderRoundTripper) RoundTrip(req *http.Request) (*http.Response
|
|||||||
return c.Delegate.RoundTrip(req)
|
return c.Delegate.RoundTrip(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ParseCommandHeaders fills in a map of X-Headers into the CommandHeaderRoundTripper. These
|
// ParseCommandHeaders fills in a map of custom headers into the CommandHeaderRoundTripper. These
|
||||||
// headers are then filled into each request. For details on X-Headers see:
|
// headers are then filled into each request. For details on the custom headers see:
|
||||||
// https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/859-kubectl-headers
|
// https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/859-kubectl-headers
|
||||||
// Each call overwrites the previously parsed command headers (not additive).
|
// Each call overwrites the previously parsed command headers (not additive).
|
||||||
// TODO(seans3): Parse/add flags removing PII from flag values.
|
// TODO(seans3): Parse/add flags removing PII from flag values.
|
||||||
|
Loading…
Reference in New Issue
Block a user