diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-07-09 15:11:31 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-07-09 15:18:15 +0200 |
commit | d0ebea06437f05dfd42ec50e1eef2da0310b65d9 (patch) | |
tree | 4b5d4a88fc6fb8d2059a21dbf4e63988c500f37c /cmd | |
parent | 09dc77aedfb786505bc526536be18d457fb7c68b (diff) | |
download | podman-d0ebea06437f05dfd42ec50e1eef2da0310b65d9.tar.gz podman-d0ebea06437f05dfd42ec50e1eef2da0310b65d9.tar.bz2 podman-d0ebea06437f05dfd42ec50e1eef2da0310b65d9.zip |
logs: enable e2e tests
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/containers/logs.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/containers/logs.go b/cmd/podman/containers/logs.go index 850cb2e1f..966998877 100644 --- a/cmd/podman/containers/logs.go +++ b/cmd/podman/containers/logs.go @@ -32,6 +32,8 @@ var ( Long: logsDescription, Args: func(cmd *cobra.Command, args []string) error { switch { + case registry.IsRemote() && logsOptions.Latest: + return errors.New(cmd.Name() + " does not support 'latest' when run remotely") case registry.IsRemote() && len(args) > 1: return errors.New(cmd.Name() + " does not support multiple containers when run remotely") case logsOptions.Latest && len(args) > 0: |