Fix for issue #1074. Now able to create volume without replica's.

This commit is contained in:
Jeroen Geusebroek 2016-01-03 08:49:20 +01:00
parent fa11718c0f
commit 30c5b303ce

View file

@ -353,6 +353,9 @@ def main():
if cluster != None and cluster[-1] == '':
cluster = cluster[0:-1]
if cluster == None:
cluster = [myhostname]
if brick_paths != None and "," in brick_paths:
brick_paths = brick_paths.split(",")
else: