Skip to content

Commit

Permalink
Merge pull request #102520 from coderanger/patch-3
Browse files Browse the repository at this point in the history
nit: Update comment to match headers change.

Kubernetes-commit: 61e30f13553fc21223652c53b4cb206732993b84
  • Loading branch information
k8s-publishing-bot committed Jul 6, 2021
2 parents 805b0c5 + 49ffac6 commit 40db31e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/genericclioptions/command_headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func (c *CommandHeaderRoundTripper) RoundTrip(req *http.Request) (*http.Response
return c.Delegate.RoundTrip(req)
}

// ParseCommandHeaders fills in a map of X-Headers into the CommandHeaderRoundTripper. These
// headers are then filled into each request. For details on X-Headers see:
// ParseCommandHeaders fills in a map of custom headers into the CommandHeaderRoundTripper. These
// 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
// Each call overwrites the previously parsed command headers (not additive).
// TODO(seans3): Parse/add flags removing PII from flag values.
Expand Down

0 comments on commit 40db31e

Please sign in to comment.