mirror of https://github.com/docker/docs.git
Merge pull request #1577 from dongluochen/clientUpdate
Godep dockerclient update.
This commit is contained in:
commit
31534f6519
|
|
@ -136,7 +136,7 @@
|
|||
},
|
||||
{
|
||||
"ImportPath": "github.com/samalba/dockerclient",
|
||||
"Rev": "0cba4a962c5a4dfcc4a83b8e64a946837a6ed913"
|
||||
"Rev": "f661dd4754aa5c52da85d04b5871ee0e11f4b59c"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/samuel/go-zookeeper/zk",
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ func main() {
|
|||
Cmd: []string{"bash"},
|
||||
AttachStdin: true,
|
||||
Tty: true}
|
||||
containerId, err := docker.CreateContainer(containerConfig, "foobar")
|
||||
containerId, err := docker.CreateContainer(containerConfig, "foobar", nil)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -513,6 +513,9 @@ func (client *DockerClient) StartMonitorEvents(cb Callback, ec chan error, args
|
|||
}
|
||||
|
||||
func (client *DockerClient) StopAllMonitorEvents() {
|
||||
if client.eventStopChan == nil {
|
||||
return
|
||||
}
|
||||
close(client.eventStopChan)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue