summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-07-18 02:49:42 -0700
committerChris Behrens <cbehrens@codestud.com>2011-07-18 02:49:42 -0700
commit68ca0a6e770eadf1ed56aa9d0bef14c5ca16e172 (patch)
tree8af270bf05251013ee25bfa2b22aa68cbcaa0c1c /nova/compute
parent102a0e5b9d6ce22a5fc5a00fc260bbe1e3592222 (diff)
add image and flavor searching to v1.0 api
fixed missing updates from cut n paste in some doc strings
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/api.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index cd2aaed96..c4d6f8b8b 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -677,16 +677,12 @@ class API(base.Base):
context, column, column_regexp)
def _get_all_by_column(column_data, column):
- """Get instances by regular expression matching
- Instance.<column>
- """
+ """Get instances by exact matching Instance.<column>"""
return self.db.instance_get_all_by_column(
context, column, column_data)
def _get_all_by_flavor(flavor_id):
- """Get instances by regular expression matching
- Instance.<column>
- """
+ """Get instances by flavor ID"""
try:
instance_type = self.db.instance_type_get_by_flavor_id(
context, flavor_id)