Skip to content

Commit

Permalink
kubeclient: log correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
Freax13 committed Aug 14, 2024
1 parent e036d6e commit ed1c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/internal/kubeclient/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (k *Kubeclient) WithForwardedPort(ctx context.Context, namespace, podName,
if funcErr == nil {
return nil
}
log.Error("port-forwarded func failed", "error", err)
log.Error("port-forwarded func failed", "error", funcErr)
select {
case err := <-errorCh:
log.Error("Encountered port forwarding error", "error", err)
Expand Down

0 comments on commit ed1c4f8

Please sign in to comment.