Skip to content

Commit

Permalink
Remove duplicate command example
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed Aug 7, 2017
1 parent ae4fac4 commit 95cccbb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/kubectl/cmd/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ var (
kubectl port-forward mypod 8888:5000
# Listen on a random port locally, forwarding to 5000 in the pod
kubectl port-forward mypod :5000
# Listen on a random port locally, forwarding to 5000 in the pod
kubectl port-forward mypod 0:5000`))
kubectl port-forward mypod :5000`))
)

func NewCmdPortForward(f cmdutil.Factory, cmdOut, cmdErr io.Writer) *cobra.Command {
Expand Down

0 comments on commit 95cccbb

Please sign in to comment.