summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-22 01:44:03 +0200
committerGitHub <noreply@github.com>2020-05-22 01:44:03 +0200
commitbe43536c0a7597075b0bd297993752f9994f12ed (patch)
tree343a31be6ca9a48e9be0b06fbc148d308c99fa6d /pkg
parent99fcb90f28a041c85fee7e2550027fb91f996f4a (diff)
parent7ff96dbc83884f357470844aaf0708cbc7c300ab (diff)
downloadpodman-be43536c0a7597075b0bd297993752f9994f12ed.tar.gz
podman-be43536c0a7597075b0bd297993752f9994f12ed.tar.bz2
podman-be43536c0a7597075b0bd297993752f9994f12ed.zip
Merge pull request #6330 from rhatdan/start
Fix podman-remote start tests
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/infra/tunnel/containers.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go
index 5b2c779b7..30c4a8359 100644
--- a/pkg/domain/infra/tunnel/containers.go
+++ b/pkg/domain/infra/tunnel/containers.go
@@ -372,7 +372,11 @@ func startAndAttach(ic *ContainerEngine, name string, detachKeys *string, input,
func (ic *ContainerEngine) ContainerStart(ctx context.Context, namesOrIds []string, options entities.ContainerStartOptions) ([]*entities.ContainerStartReport, error) {
var reports []*entities.ContainerStartReport
for _, name := range namesOrIds {
- report := entities.ContainerStartReport{Id: name}
+ report := entities.ContainerStartReport{
+ Id: name,
+ RawInput: name,
+ ExitCode: 125,
+ }
if options.Attach {
report.Err = startAndAttach(ic, name, &options.DetachKeys, options.Stdin, options.Stdout, options.Stderr)
if report.Err == nil {