From a86ef544f021cd325cde0e8cbd5b833e116707e8 Mon Sep 17 00:00:00 2001 From: Jiri Hnidek Date: Wed, 25 Oct 2023 11:33:03 +0200 Subject: [PATCH] CCT-71: Try to ping server, when --proxy is used * When --proxy is used, then try to ping server before new configuration is used. --- src/subscription_manager/cli_command/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/subscription_manager/cli_command/cli.py b/src/subscription_manager/cli_command/cli.py index 5b65ac29c8..a64aa294d0 100644 --- a/src/subscription_manager/cli_command/cli.py +++ b/src/subscription_manager/cli_command/cli.py @@ -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