Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Make errors returned by SSHD container creation more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
sargun committed Nov 6, 2018
1 parent f8933f4 commit 5127390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/runtime/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ func (r *DockerRuntime) doSetupSSHdContainer(ctx context.Context, containerName
// Wait, there was probably an issue creating the container, if we weren't able to inspect the container
// if so, let's return an error
if tmpErr != nil {
return tmpErr
return multierror.Append(tmpErr, err)
}

// otherwise we _know_ there is an error
Expand Down

0 comments on commit 5127390

Please sign in to comment.