]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
fix a typo for wrong path reference
authorAlfredo Deza <alfredo@deza.pe>
Fri, 19 Jul 2013 12:30:23 +0000 (08:30 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Fri, 19 Jul 2013 12:30:23 +0000 (08:30 -0400)
ceph_deploy/mon.py

index a89fd6228aeb0570dd49bf07788269b63a325758..2bf1b4ff34ef0c5a032dec860c8831787b138c06 100644 (file)
@@ -29,8 +29,8 @@ def create_mon(cluster, monitor_keyring, init, paths):
         os.makedirs(path)
 
     if not os.path.exists(done_path):
-        if not os.path.exists(path.mon.constants.tmp_path):
-            os.makedirs(path.mon.constants.tmp_path)
+        if not os.path.exists(paths.mon.constants.tmp_path):
+            os.makedirs(paths.mon.constants.tmp_path)
         keyring = paths.mon.keyring(cluster, hostname)
 
         with file(keyring, 'w') as f: