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 committed Oct 25, 2023
1 parent a45afb7 commit a86ef54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subscription_manager/cli_command/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def main(self, args: Optional[List[str]] = None) -> Optional[int]:
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 a86ef54

Please sign in to comment.