-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image load: no args required #6722
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vrothberg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM |
Is there already a test for at most one argument in the code?
…On Tue, Jun 23, 2020, 08:36 Valentin Rothberg ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/system/120-load.bats
<#6722 (comment)>:
>
- # Same as above, using stdin
+ # Also make sure that `image load` behaves the same.
+ run_podman image load -i $archive
I wanted to use the reproducer from the issue. That's effectively the same
code path afaics.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6722 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCH7DKXZ4T67XZG2WPLRYCOTFANCNFSM4OFO57UQ>
.
|
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: containers#6718 Signed-off-by: Valentin Rothberg <[email protected]>
Added one. Also added another test as suggested by @edsantiago to use |
LGTM |
That's something I've long wanted to add to $ ./bin/podman attach x x
Error: `podman attach` requires a name, id or the "--latest" flag
$ ./bin/podman build x x
Error: context must be a directory: "/path/to/x"
$ ./bin/podman commit x y z
Error: no container with name or ID x found: no such container |
/lgtm |
Disable the args requirement of
image load
. Instead of requiring alower 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 [email protected]