mirror of
https://github.com/ceph/ceph
synced 2025-01-15 07:23:16 +00:00
Handle rbd config with no properties.
This commit is contained in:
parent
122ed28638
commit
9eea6b9325
@ -355,6 +355,8 @@ def task(ctx, config):
|
||||
if isinstance(config, dict):
|
||||
role_images = {}
|
||||
for role, properties in config.iteritems():
|
||||
if properties is None:
|
||||
properties = {}
|
||||
role_images[role] = properties.get('image_name')
|
||||
else:
|
||||
role_images = config
|
||||
|
Loading…
Reference in New Issue
Block a user