removing isdir
This commit is contained in:
@@ -160,9 +160,7 @@ def register_configs():
|
|||||||
# need to create this early, new peers will have a relation during
|
# need to create this early, new peers will have a relation during
|
||||||
# registration # before they've run the ceph hooks to create the
|
# registration # before they've run the ceph hooks to create the
|
||||||
# directory.
|
# directory.
|
||||||
if not os.path.isdir(os.path.dirname(CEPH_CONF)):
|
|
||||||
mkdir(os.path.dirname(CEPH_CONF))
|
mkdir(os.path.dirname(CEPH_CONF))
|
||||||
if not os.path.isdir(os.path.dirname(ceph_config_file())):
|
|
||||||
mkdir(os.path.dirname(ceph_config_file()))
|
mkdir(os.path.dirname(ceph_config_file()))
|
||||||
|
|
||||||
# Install ceph config as an alternative for co-location with
|
# Install ceph config as an alternative for co-location with
|
||||||
|
|||||||
Reference in New Issue
Block a user