summaryrefslogtreecommitdiff
path: root/cloudinit/dhclient_hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/dhclient_hook.py')
-rw-r--r--cloudinit/dhclient_hook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/dhclient_hook.py b/cloudinit/dhclient_hook.py
index 9dcbe39c..82cb1855 100644
--- a/cloudinit/dhclient_hook.py
+++ b/cloudinit/dhclient_hook.py
@@ -3,7 +3,7 @@
import os
-from cloudinit.atomic_helper import atomic_write_json
+from cloudinit import atomic_helper
from cloudinit import log as logging
from cloudinit import stages
@@ -46,5 +46,5 @@ class LogDhclient(object):
envs = os.environ
if self.hook_file is None:
return
- atomic_write_json(self.hook_file, self.get_vals(envs))
+ atomic_helper.write_json(self.hook_file, self.get_vals(envs))
LOG.debug("Wrote dhclient options in %s", self.hook_file)