summaryrefslogtreecommitdiffstats
path: root/nova/objects
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-06-17 16:01:09 -0700
committerDan Smith <danms@us.ibm.com>2013-06-19 13:34:49 -0700
commit6bbe906db0385bcd11e0532b8b180272feb76042 (patch)
tree5b3cfab3719d85fb0b006dbeb31330f3b0fc31f6 /nova/objects
parentd34792aa15d9dfcc6bdb5782b89df0c900552fec (diff)
downloadnova-6bbe906db0385bcd11e0532b8b180272feb76042.tar.gz
nova-6bbe906db0385bcd11e0532b8b180272feb76042.tar.xz
nova-6bbe906db0385bcd11e0532b8b180272feb76042.zip
Remove straggling use of all-kwarg object methods
This removes one remaining vestige of the days of yore when nova developers were forced to always use kwargs on object methods out of fear, lest it be used over RPC. Related to blueprint unified-object-model Change-Id: Ieba76efc2f5daed08e4bde9096c0e178f1f44466
Diffstat (limited to 'nova/objects')
-rw-r--r--nova/objects/instance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/objects/instance.py b/nova/objects/instance.py
index c1b765f29..de47f648f 100644
--- a/nova/objects/instance.py
+++ b/nova/objects/instance.py
@@ -191,7 +191,7 @@ class Instance(base.NovaObject):
return instance
@base.remotable_classmethod
- def get_by_uuid(cls, context, uuid=None, expected_attrs=None):
+ def get_by_uuid(cls, context, uuid, expected_attrs=None):
if expected_attrs is None:
expected_attrs = []