summaryrefslogtreecommitdiffstats
path: root/os_net_config
diff options
context:
space:
mode:
Diffstat (limited to 'os_net_config')
-rw-r--r--os_net_config/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_net_config/cli.py b/os_net_config/cli.py
index 5b6ff1d..247a1b4 100644
--- a/os_net_config/cli.py
+++ b/os_net_config/cli.py
@@ -128,7 +128,7 @@ def main(argv=sys.argv):
return 1
for iface_json in iface_array:
obj = objects.object_from_json(iface_json)
- provider.addObject(obj)
+ provider.add_object(obj)
files_changed = provider.apply(noop=opts.noop, cleanup=opts.cleanup)
if opts.noop:
for location, data in files_changed.iteritems():