Switch exec to look at exit code not output status.

This commit is contained in:
Brendan Burns
2015-05-08 09:48:31 -07:00
parent 35c644a45f
commit c9324e6e38
8 changed files with 98 additions and 12 deletions

View File

@@ -65,6 +65,7 @@ type DockerInterface interface {
Info() (*docker.Env, error)
CreateExec(docker.CreateExecOptions) (*docker.Exec, error)
StartExec(string, docker.StartExecOptions) error
InspectExec(id string) (*docker.ExecInspect, error)
}
// KubeletContainerName encapsulates a pod name and a Kubernetes container name.