Skip to content

Commit

Permalink
Print correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Feb 24, 2025
1 parent 5d17188 commit 51f5ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systest/cluster/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ func waitPod(ctx *testcontext.Context, id string) (*apiv1.Pod, error) {
return pod, nil
}
}
return nil, fmt.Errorf("watcher terminated while waiting for pod with id %v: %w", id, ctx.Err())
return nil, fmt.Errorf("watcher terminated while waiting for pod with id %v: %w", id, watcherCtx.Err())
}

func nodeLabels(name, id string) map[string]string {
Expand Down

0 comments on commit 51f5ac7

Please sign in to comment.