From db8e98ffb79a150c9b0c5fd91467f8ce3ca4b9bc Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 19 Jul 2013 08:30:23 -0400 Subject: [PATCH] fix a typo for wrong path reference --- ceph_deploy/mon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index a89fd62..2bf1b4f 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -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: -- 2.47.3