diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 16:45:37 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 16:46:26 -0400 |
commit | 7ff96dbc83884f357470844aaf0708cbc7c300ab (patch) | |
tree | 57840b559f34d7d8c2f0cd35c9f85e09b3e6d61d /pkg/domain/infra/tunnel | |
parent | f6aa620b05a057ca8fb9631b66313c6220de50c2 (diff) | |
download | podman-7ff96dbc83884f357470844aaf0708cbc7c300ab.tar.gz podman-7ff96dbc83884f357470844aaf0708cbc7c300ab.tar.bz2 podman-7ff96dbc83884f357470844aaf0708cbc7c300ab.zip |
Fix podman-remote start tests
Also enable some tests for remote by removing -l flag.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index d02c54e76..a031b740e 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -357,7 +357,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 { |