diff --git a/netbox_agent/ethtool.py b/netbox_agent/ethtool.py index 36f10f4..3ce3fbc 100644 --- a/netbox_agent/ethtool.py +++ b/netbox_agent/ethtool.py @@ -73,8 +73,6 @@ class Ethtool(): def parse(self): if which('ethtool') is None: return None - # TODO >= py35: return {**a, **b} - return merge_two_dicts( - self._parse_ethtool_output(), - self._parse_ethtool_module_output() - ) + output = self._parse_ethtool_output() + output.update(self._parse_ethtool_module_output()) + return output