Commit 212b8f61 authored by Daniel Smith's avatar Daniel Smith

Merge pull request #574 from brendandburns/run

Add a name to containers created by RunController so that validation works
parents 09adbb96 fcb9201c
...@@ -168,6 +168,7 @@ func RunController(image, name string, replicas int, client client.Interface, po ...@@ -168,6 +168,7 @@ func RunController(image, name string, replicas int, client client.Interface, po
Manifest: api.ContainerManifest{ Manifest: api.ContainerManifest{
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: name,
Image: image, Image: image,
Ports: makePorts(portSpec), Ports: makePorts(portSpec),
}, },
......
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