Commit 66d37b56 authored by Zach Loafman's avatar Zach Loafman

Merge pull request #6297 from pmorie/fix-6294

Fix issue 6294: networking e2e should set args, not command
parents 762c4490 0335e350
......@@ -69,6 +69,8 @@ func (r *DockerContainerRunner) RunContainer(pod *api.Pod, container *api.Contai
setEntrypointAndCommand(container, &dockerOpts)
glog.V(3).Infof("Container %v/%v/%v: setting entrypoint \"%v\" and command \"%v\"", pod.Namespace, pod.Name, container.Name, dockerOpts.Config.Entrypoint, dockerOpts.Config.Cmd)
dockerContainer, err := r.Client.CreateContainer(dockerOpts)
if err != nil {
if ref != nil {
......
......@@ -117,7 +117,7 @@ var _ = Describe("Networking", func() {
{
Name: "webserver",
Image: "kubernetes/nettest:1.1",
Command: []string{
Args: []string{
"-service=" + name,
fmt.Sprintf("-peers=%d", peers),
"-namespace=" + ns},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment