mirror of https://github.com/docker/docs.git
state: Store container ID in requested state.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
6410f9ad35
commit
562febe2f9
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import (
|
|||
)
|
||||
|
||||
type RequestedState struct {
|
||||
ID string
|
||||
Name string
|
||||
Config *dockerclient.ContainerConfig
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue