diff --git a/reddwarfclient/cli.py b/reddwarfclient/cli.py index 2dfe4d9e..2835b3ba 100644 --- a/reddwarfclient/cli.py +++ b/reddwarfclient/cli.py @@ -47,7 +47,7 @@ class InstanceCommands(common.AuthedCommandsBase): 'marker', 'name', 'size', - 'backupRef' + 'backupId' ] def create(self): @@ -55,8 +55,8 @@ class InstanceCommands(common.AuthedCommandsBase): self._require('name', 'size', 'flavor') volume = {"size": self.size} restorePoint = None - if self.backupRef is not None: - restorePoint = {"backupRef": self.backupRef} + if self.backupId is not None: + restorePoint = {"backupId": self.backupId} self._pretty_print(self.dbaas.instances.create, self.name, self.flavor, volume, restorePoint=restorePoint)