Skip to content

Commit

Permalink
Merge pull request #2707 from balopat/debug_kubectl_portforward
Browse files Browse the repository at this point in the history
more debugging for kubectl portforward
  • Loading branch information
balopat authored Aug 22, 2019
2 parents f552c67 + a754602 commit 7e67515
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/skaffold/kubernetes/portforward/kubectl_forwarder.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func (k *KubectlForwarder) forward(parentCtx context.Context, pfe *portForwardEn
buf := &bytes.Buffer{}
cmd := portForwardCmd(ctx, k.kubectl, pfe, buf)

logrus.Debugf("Running command: %s", cmd.Args)
if err := cmd.Start(); err != nil {
if ctx.Err() == context.Canceled {
logrus.Debugf("couldn't start %v due to context cancellation", pfe)
Expand Down

0 comments on commit 7e67515

Please sign in to comment.