diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-06-23 11:17:42 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-06-24 14:39:45 -0400 |
commit | cd0b18c24f9835e8bb258b906800f0975fbe9e2f (patch) | |
tree | 1acf2ac660a88478a26e57ddfcc2ec8dcdd0702f /cmd/podman/images | |
parent | 8fbfffc082215b03df29cb1eeb2eb22a582a48cd (diff) | |
download | podman-cd0b18c24f9835e8bb258b906800f0975fbe9e2f.tar.gz podman-cd0b18c24f9835e8bb258b906800f0975fbe9e2f.tar.bz2 podman-cd0b18c24f9835e8bb258b906800f0975fbe9e2f.zip |
image load: no args required
Disable the args requirement of `image load`. Instead of requiring a
lower bound, we really need an upper one with at most 1 argument.
Extend the system tests to prevent future regressions.
Fixes: #6718
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r-- | cmd/podman/images/load.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/load.go b/cmd/podman/images/load.go index a984ad81f..115e9a070 100644 --- a/cmd/podman/images/load.go +++ b/cmd/podman/images/load.go @@ -30,7 +30,7 @@ var ( } imageLoadCommand = &cobra.Command{ - Args: cobra.MinimumNArgs(1), + Args: loadCommand.Args, Use: loadCommand.Use, Short: loadCommand.Short, Long: loadCommand.Long, |