1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Remove second exec start in User Docker

This commit is contained in:
Josh Curl
2016-06-17 09:50:36 -07:00
parent b6ddb4f577
commit 65bff509e0

View File

@@ -162,12 +162,6 @@ func startDocker(cfg *config.CloudConfig) (string, types.HijackedResponse, error
return "", types.HijackedResponse{}, err
}
if err := client.ContainerExecStart(context.Background(), resp.ID, types.ExecStartCheck{
Detach: false,
}); err != nil {
return "", types.HijackedResponse{}, err
}
return resp.ID, attachResp, nil
}