From 267a361869a3ebebb276d5d2c7421a8b1cc060e3 Mon Sep 17 00:00:00 2001 From: Steve Leon Date: Tue, 2 Apr 2013 16:00:00 -0700 Subject: [PATCH] Renaming backupRef to backupId Change-Id: I93f1132822f90e51f761db6346b5a19e2dc1a0a5 --- reddwarfclient/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)