From 49ffac62d8738595f8d0d09c4b1027b803ac54f2 Mon Sep 17 00:00:00 2001 From: Noah Kantrowitz Date: Tue, 1 Jun 2021 22:23:30 -0700 Subject: [PATCH] nit: Update comment to match headers change. Kubernetes-commit: eac1d23825b950f645cebcb1d6a51bac819db58b --- pkg/genericclioptions/command_headers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/genericclioptions/command_headers.go b/pkg/genericclioptions/command_headers.go index 703d74d1..04889da0 100644 --- a/pkg/genericclioptions/command_headers.go +++ b/pkg/genericclioptions/command_headers.go @@ -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.