aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config/impl_eni.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2014-08-21 10:22:01 -0400
committerDan Prince <dprince@redhat.com>2014-08-21 10:22:01 -0400
commitdb8deb0a062178ebb99f1a010eb5af79cee2390e (patch)
treee5b62ef42533fdde44afe5a73740634d38e19542 /os_net_config/impl_eni.py
parent416943cc4e1ec7e4fc0e86640f24f0133a8b2f4e (diff)
Correct the noop format for the eni provider
Corrects the eni provider so that it returns the correct format in noop mode.
Diffstat (limited to 'os_net_config/impl_eni.py')
-rw-r--r--os_net_config/impl_eni.py2
1 files changed, 1 insertions, 1 deletions
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,