Merge "Fix three resources not being deleted by using name"
This commit is contained in:
@@ -22,7 +22,6 @@ from cinderclient import base
|
||||
|
||||
class VolumeBackup(base.Resource):
|
||||
"""A volume backup is a block level backup of a volume."""
|
||||
NAME_ATTR = "display_name"
|
||||
|
||||
def __repr__(self):
|
||||
return "<VolumeBackup: %s>" % self.id
|
||||
|
||||
@@ -26,7 +26,6 @@ from cinderclient import base
|
||||
|
||||
class Snapshot(base.Resource):
|
||||
"""A Snapshot is a point-in-time snapshot of an openstack volume."""
|
||||
NAME_ATTR = "display_name"
|
||||
|
||||
def __repr__(self):
|
||||
return "<Snapshot: %s>" % self.id
|
||||
|
||||
@@ -27,7 +27,6 @@ from cinderclient import base
|
||||
|
||||
class VolumeTransfer(base.Resource):
|
||||
"""Transfer a volume from one tenant to another"""
|
||||
NAME_ATTR = "display_name"
|
||||
|
||||
def __repr__(self):
|
||||
return "<VolumeTransfer: %s>" % self.id
|
||||
|
||||
Reference in New Issue
Block a user