Skip to content

Commit

Permalink
adds comments to tunnelingResponseWriter
Browse files Browse the repository at this point in the history
Kubernetes-commit: 3d56ff21fd3c9c9da82ff22044691ef0671ac7b6
  • Loading branch information
seans3 authored and k8s-publishing-bot committed Mar 4, 2024
1 parent 1ac3b75 commit 18888da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/portforward/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ func (o PortForwardOptions) Validate() error {
return nil
}

// Deprecated: Use RunPortForwardContext instead, which allows canceling.
// RunPortForward implements all the necessary functionality for port-forward cmd.
func (o PortForwardOptions) RunPortForward() error {
return o.RunPortForwardContext(context.Background())
Expand Down

0 comments on commit 18888da

Please sign in to comment.