Browse Source

Merge "Fix Invalid() exception msg"

changes/28/737828/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
85fcf10574
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cinder/volume/manager.py

+ 1
- 1
cinder/volume/manager.py View File

@@ -791,7 +791,7 @@ class VolumeManager(manager.CleanableManager,
if res_backend != backend:
msg = (_('Invalid %(resource)s: %(resource)s %(id)s is not '
'local to %(backend)s.') %
{'resource': resource.obj_name, 'id': resource.id,
{'resource': resource.obj_name(), 'id': resource.id,
'backend': backend})
raise exception.Invalid(msg)



Loading…
Cancel
Save