Merge "Fix: UnboundLocalError variable referenced before assignment"

This commit is contained in:
Zuul 2018-10-12 17:45:54 +00:00 committed by Gerrit Code Review
commit bfe34243e3
1 changed files with 1 additions and 1 deletions

View File

@ -3541,7 +3541,7 @@ class VolumeManager(manager.CleanableManager,
LOG.error("Update group "
"failed to %(op)s volume-%(volume_id)s: "
"VolumeNotFound.",
{'volume_id': add_vol_ref.id,
{'volume_id': add_vol,
'op': 'add' if add else 'remove'},
resource={'type': 'group',
'id': group.id})