Skip to content

Commit

Permalink
CCT-71: Try to ping server, when --proxy is used
Browse files Browse the repository at this point in the history
* When --proxy is used, then try to ping server before new
  configuration is used.
  • Loading branch information
jirihnidek authored and ptoscano committed Nov 15, 2023
1 parent c38d6bd commit a79a051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subscription_manager/managercli.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ def main(self, args=None):
self.proxy_password = proxy_pass
self.proxy_hostname = proxy_hostname
self.proxy_port = int(proxy_port)
config_changed = True

if hasattr(self.options, "proxy_user") and self.options.proxy_user:
self.proxy_user = self.options.proxy_user
Expand Down

0 comments on commit a79a051

Please sign in to comment.