state: Store container ID in requested state.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-01-19 13:25:27 -08:00
parent 6410f9ad35
commit 562febe2f9
2 changed files with 2 additions and 0 deletions

View File

@ -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,
}

View File

@ -5,6 +5,7 @@ import (
)
type RequestedState struct {
ID string
Name string
Config *dockerclient.ContainerConfig
}