Skip to content

Commit

Permalink
Update e2e/internal/kubeclient/portforward.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Meyer <[email protected]>
  • Loading branch information
burgerdev and katexochen authored Mar 8, 2024
1 parent 94671c6 commit 46b0cb6
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 @@ -16,7 +16,7 @@ import (
func (k *Kubeclient) PortForwardPod(ctx context.Context, namespace, podName, remotePort string) (string, func(), error) {
// We can only forward to the pod once it's ready.
if err := k.WaitForPod(ctx, namespace, podName); err != nil {
return "", nil, err
return "", nil, fmt.Errorf("waiting for pod %s: %w", podName, err)
}

// This channel sends a stop request to the portforwarding goroutine.
Expand Down

0 comments on commit 46b0cb6

Please sign in to comment.