-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Change priority for cli flags for remotely operating Podman #19997
Conversation
7951ab0
to
696d908
Compare
@@ -180,4 +180,73 @@ $c2[ ]\+tcp://localhost:54321[ ]\+true" \ | |||
run_podman system connection rm mysshconn | |||
} | |||
|
|||
# Check the priority of --connection flag vs CONTAINER_HOST env variable | |||
@test "podman-remote: non-default connection" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@edsantiago PTAL at the test, I am not sure if you have a better idea to structure this: the full matrix is quite complex.
faa3052
to
ddb13ad
Compare
ddb13ad
to
880109a
Compare
Your test seems to be failing. |
880109a
to
7948b36
Compare
Have refactored the method |
7948b36
to
11f163e
Compare
d26a0de
to
e196109
Compare
cli flags couldn't override the active-destination when env variables were set. As a remedy, the precedence of cli flags has been changed. Signed-off-by: Chetan Giradkar <cgiradka@redhat.com>
e196109
to
8c95aa4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgiradkar, Luap99 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 |
--connection flag couldn't override the active-destination when CONTAINER_HOST env variable was set. As a remedy, the precedence of --connection flag has been changed.
Does this PR introduce a user-facing change?
Closes #15588
Signed-off-by: Chetan Giradkar cgiradka@redhat.com