1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 07:44:21 +00:00

Update vendor

This commit is contained in:
Darren Shepherd
2016-05-31 18:12:52 -07:00
parent 410dfbe0fd
commit a14846152b
1253 changed files with 222820 additions and 15054 deletions

View File

@@ -278,8 +278,9 @@ func (p *Project) removeOrphanContainers() error {
if err := client.ContainerKill(context.Background(), container.ID, "SIGKILL"); err != nil {
return err
}
if err := client.ContainerRemove(context.Background(), container.ID, types.ContainerRemoveOptions{
Force: true,
if err := client.ContainerRemove(context.Background(), types.ContainerRemoveOptions{
ContainerID: container.ID,
Force: true,
}); err != nil {
return err
}