summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r--cloudinit/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 7fc919fa..24e12d08 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -363,7 +363,7 @@ class CloudInit:
self.handlercount=self.handlercount+1
# write content to instance's handlerdir
- handlerdir = self.get_ipath("handler")
+ handlerdir = self.get_ipath("handlers")
modname = 'part-handler-%03d' % self.handlercount
modfname = modname + ".py"
util.write_file("%s/%s" % (handlerdir,modfname), payload, 0600)