diff --git a/cinderclient/v1/volume_backups_restore.py b/cinderclient/v1/volume_backups_restore.py index faf9e09bf..0eafa8220 100644 --- a/cinderclient/v1/volume_backups_restore.py +++ b/cinderclient/v1/volume_backups_restore.py @@ -24,7 +24,7 @@ from cinderclient import base class VolumeBackupsRestore(base.Resource): """A Volume Backups Restore represents a restore operation.""" def __repr__(self): - return "" % self.id + return "" % self.volume_id class VolumeBackupRestoreManager(base.Manager): diff --git a/cinderclient/v2/volume_backups_restore.py b/cinderclient/v2/volume_backups_restore.py index faf9e09bf..0eafa8220 100644 --- a/cinderclient/v2/volume_backups_restore.py +++ b/cinderclient/v2/volume_backups_restore.py @@ -24,7 +24,7 @@ from cinderclient import base class VolumeBackupsRestore(base.Resource): """A Volume Backups Restore represents a restore operation.""" def __repr__(self): - return "" % self.id + return "" % self.volume_id class VolumeBackupRestoreManager(base.Manager):