diff --git a/sonic_y_cable/microsoft/y_cable_simulated.py b/sonic_y_cable/microsoft/y_cable_simulated.py index 77c6ded0d73c..79aa920e6e05 100644 --- a/sonic_y_cable/microsoft/y_cable_simulated.py +++ b/sonic_y_cable/microsoft/y_cable_simulated.py @@ -176,7 +176,7 @@ def _post(self, url=None, data=None): # Retry in case of exception, to workaround 'no route to host' issue after pmon restart if time.time() - start_time > self.POLL_TIMEOUT: self.log_error('Retry POST {} with data{} for physical port {} timeout after {} seconds, attempted={}'.format( - get_url, + post_url, post_data, self.port, self.POLL_TIMEOUT, @@ -186,7 +186,7 @@ def _post(self, url=None, data=None): else: self.log_notice('Sleep {} seconds to retry POST {} with data {} for physical port {}'.format( self.POLL_INTERVAL, - get_url, + post_url, post_data, self.port ))