Skip to content

Commit c8b656d

Browse files
committed
Fix wrong command in e2e agnhost utility function
The `Command` will cause the container process not starting correctly, so we now use the `Args` to end up running `/agnhost pause` as intended. Signed-off-by: Sascha Grunert <[email protected]>
1 parent 3a50184 commit c8b656d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/framework/util.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@ func ProxyMode(f *Framework) (string, error) {
475475
HostNetwork: true,
476476
Containers: []v1.Container{
477477
{
478-
Name: "detector",
479-
Image: AgnHostImage,
480-
Command: []string{"pause"},
478+
Name: "detector",
479+
Image: AgnHostImage,
480+
Args: []string{"pause"},
481481
},
482482
},
483483
},

0 commit comments

Comments
 (0)