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 <sgrunert@suse.com>
This commit is contained in:
@@ -475,9 +475,9 @@ func ProxyMode(f *Framework) (string, error) {
|
||||
HostNetwork: true,
|
||||
Containers: []v1.Container{
|
||||
{
|
||||
Name: "detector",
|
||||
Image: AgnHostImage,
|
||||
Command: []string{"pause"},
|
||||
Name: "detector",
|
||||
Image: AgnHostImage,
|
||||
Args: []string{"pause"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user