diff --git a/plugins/module_utils/network/sonic/config/interfaces/interfaces.py b/plugins/module_utils/network/sonic/config/interfaces/interfaces.py index 279c2248c..fdcb41612 100644 --- a/plugins/module_utils/network/sonic/config/interfaces/interfaces.py +++ b/plugins/module_utils/network/sonic/config/interfaces/interfaces.py @@ -171,7 +171,6 @@ def execute_module(self): existing_interfaces_facts = self.get_interfaces_facts() commands, requests = self.set_config(existing_interfaces_facts, warnings) if commands and len(requests) > 0: - print("\ncommand = \n {0}\n requests =\n {1}".format(commands, requests), file=open('commands.log', 'a')) if not self._module.check_mode: try: edit_config(self._module, to_request(self._module, requests)) diff --git a/plugins/module_utils/network/sonic/facts/interfaces/interfaces.py b/plugins/module_utils/network/sonic/facts/interfaces/interfaces.py index 16fab1b47..afd4d4b10 100644 --- a/plugins/module_utils/network/sonic/facts/interfaces/interfaces.py +++ b/plugins/module_utils/network/sonic/facts/interfaces/interfaces.py @@ -152,7 +152,6 @@ def transform_config(self, conf): if 'openconfig-if-ethernet-ext2:unreliable-los' in eth_conf: trans_cfg['unreliable_los'] = eth_conf['openconfig-if-ethernet-ext2:unreliable-los'].split(':', 1)[-1] - return trans_cfg def reset_loop_backs(self):