some comments are modified

This commit is contained in:
Kei Masumoto
2011-03-04 01:17:05 +09:00
parent 137a494678
commit bc6cc45713
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -154,19 +154,19 @@ def service_update(context, service_id, values):
def compute_node_get(context, compute_id, session=None):
"""Get an computeService or raise if it does not exist."""
"""Get an computeNode or raise if it does not exist."""
return IMPL.compute_node_get(context, compute_id)
def compute_node_create(context, values):
"""Create a computeService from the values dictionary."""
"""Create a computeNode from the values dictionary."""
return IMPL.compute_node_create(context, values)
def compute_node_update(context, compute_id, values):
"""Set the given properties on an computeService and update it.
"""Set the given properties on an computeNode and update it.
Raises NotFound if computeService does not exist.
Raises NotFound if computeNode does not exist.
"""
+1 -1
View File
@@ -308,7 +308,7 @@ def compute_node_get(context, compute_id, session=None):
first()
if not result:
raise exception.NotFound(_('No computeService for id %s') % compute_id)
raise exception.NotFound(_('No computeNode for id %s') % compute_id)
return result