From 5eaf67db76be71adfced794793e88150e94ad53c Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Thu, 2 Aug 2012 21:34:30 +0800 Subject: Fix a comment typo in db api Fix the comment for instance_type_get_by_flavor_id(). Change-Id: I6160c6d8e7a0160c01362f9a34550740600f8bc9 Signed-off-by: Shane Wang --- nova/db/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/db/api.py b/nova/db/api.py index 96254fe08..5e390d9f9 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -1442,7 +1442,7 @@ def instance_type_get_by_name(context, name): def instance_type_get_by_flavor_id(context, id): - """Get instance type by name.""" + """Get instance type by flavor id.""" return IMPL.instance_type_get_by_flavor_id(context, id) -- cgit