diff --git a/cluster/cluster.go b/cluster/cluster.go index 24fa9179f4..44a36b4d2f 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -44,6 +44,7 @@ func (c *Cluster) DeployContainer(node *Node, config *dockerclient.ContainerConf // Commit the requested state. st := &state.RequestedState{ + ID: container.Id, Name: name, Config: config, } diff --git a/state/state.go b/state/state.go index 10173255e5..71394f9ff4 100644 --- a/state/state.go +++ b/state/state.go @@ -5,6 +5,7 @@ import ( ) type RequestedState struct { + ID string Name string Config *dockerclient.ContainerConfig }