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:
Sascha Grunert 2019-09-06 15:05:38 +02:00
parent 3a50184421
commit c8b656db50
No known key found for this signature in database
GPG Key ID: 8CE029DD1A866E52

View File

@ -477,7 +477,7 @@ func ProxyMode(f *Framework) (string, error) {
{
Name: "detector",
Image: AgnHostImage,
Command: []string{"pause"},
Args: []string{"pause"},
},
},
},