Fixed the Fake Docker client to simulate Exec start failures

This commit is contained in:
Diptanu Choudhury 2015-10-26 16:54:51 -07:00
parent 423f7fbcac
commit 9efbd1affa
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ func (d *fakeDockerClientWithStartExecFailure) CreateExec(opts docker.CreateExec
}
func (d *fakeDockerClientWithStartExecFailure) StartExec(id string, opts docker.StartExecOptions) error {
return nil
return errors.New("Couldn't Start Exec")
}
func (d *fakeDockerClientWithStartExecFailure) InspectExec(id string) (*docker.ExecInspect, error) {