From db8deb0a062178ebb99f1a010eb5af79cee2390e Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 21 Aug 2014 10:22:01 -0400 Subject: Correct the noop format for the eni provider Corrects the eni provider so that it returns the correct format in noop mode. --- os_net_config/impl_eni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os_net_config/impl_eni.py') diff --git a/os_net_config/impl_eni.py b/os_net_config/impl_eni.py index 0553b2f..c40a4b0 100644 --- a/os_net_config/impl_eni.py +++ b/os_net_config/impl_eni.py @@ -200,7 +200,7 @@ class ENINetConfig(os_net_config.NetConfig): if (utils.diff(_network_config_path(), new_config)): if noop: - return {"/etc/network/interfaces", new_config} + return {"/etc/network/interfaces": new_config} for interface in self.interfaces.keys(): logger.info('running ifdown on interface: %s' % interface) processutils.execute('/sbin/ifdown', interface, -- cgit 1.2.3-korg