spiegel_podman/cmd/podman/containers
Matthew Heon a34888de31 The podman start --attach command should not print ID
Somewhere in the Podman v2 rewrite, we allowed
`podman start --attach` to print the container ID of the started
container after exiting from the attach session (via detach key
or the container exiting naturally). We should never print the ID
when `--attach` is given, which makes the fix simple - make the
print statement conditional on `--attach` not being present.

Wierdly, this only happened with `--interactive` was given to
`podman start`. I don't know why that is, but this resolves the
issue without having to dig any deeper, so I'm content.

Fixes #7055

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-31 11:36:51 -04:00
..
attach.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
checkpoint.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
cleanup.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
commit.go move go module to v2 2020-07-06 15:52:17 +02:00
container.go move go module to v2 2020-07-06 15:52:17 +02:00
cp.go move go module to v2 2020-07-06 15:52:17 +02:00
create.go Fix a bug where --pids-limit was parsed incorrectly 2020-07-15 10:04:42 -04:00
diff.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
exec.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
exists.go move go module to v2 2020-07-06 15:52:17 +02:00
export.go move go module to v2 2020-07-06 15:52:17 +02:00
init.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
inspect.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
kill.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
list.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
logs.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
mount.go Fix bug where podman mount didn't error as rootless 2020-07-06 16:59:05 -04:00
pause.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
port.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
prune.go move go module to v2 2020-07-06 15:52:17 +02:00
ps.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
restart.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
restore.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
rm.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
run.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
runlabel.go move go module to v2 2020-07-06 15:52:17 +02:00
start.go The podman start --attach command should not print ID 2020-07-31 11:36:51 -04:00
stats.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
stop.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
top.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
unmount.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00
unpause.go move go module to v2 2020-07-06 15:52:17 +02:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go Fixes --remote flag issues 2020-07-06 14:14:53 -04:00