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 fd6d57ccac
commit c8c08586f0

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) {