mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix for issue #1074. Now able to create volume without replica's.
This commit is contained in:
parent
d504253257
commit
6fc533d663
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue