Skip to content

Commit

Permalink
fix(controller): TestPodExists unit test (#6763)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu Zhao <[email protected]>
  • Loading branch information
tczhao committed Sep 20, 2021
1 parent 96afac1 commit 1a76e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/workflowpod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ func TestPodExists(t *testing.T) {
assert.NoError(t, err)
assert.Len(t, pods.Items, 1)

existingPod, doesExist, err := woc.podExists(pod.Name)
existingPod, doesExist, err := woc.podExists(pod.ObjectMeta.Name)
assert.NoError(t, err)
assert.NotNil(t, existingPod)
assert.True(t, doesExist)
Expand Down

0 comments on commit 1a76e65

Please sign in to comment.