rbd: fix typo in default config

pyflakes would have caught this if 'all' weren't a built-in function
This commit is contained in:
Josh Durgin 2012-03-26 11:54:49 -07:00
parent 397e7f2f7b
commit e30b7710f5

View File

@ -379,7 +379,7 @@ def task(ctx, config):
fs_type: xfs
"""
if config is None:
config = { all: None }
config = { 'all': None }
norm_config = config
if isinstance(config, dict):
norm_config = teuthology.replace_all_with_clients(ctx.cluster, config)
@ -392,6 +392,8 @@ def task(ctx, config):
else:
role_images = norm_config
log.debug('rbd config is: %s', norm_config)
with contextutil.nested(
lambda: create_image(ctx=ctx, config=norm_config),
lambda: modprobe(ctx=ctx, config=norm_config),