diff options
| author | Shane Wang <shane.wang@intel.com> | 2012-08-02 21:34:30 +0800 |
|---|---|---|
| committer | Shane Wang <shane.wang@intel.com> | 2012-08-02 21:34:30 +0800 |
| commit | 5eaf67db76be71adfced794793e88150e94ad53c (patch) | |
| tree | fc130b80551c7827509f2f2e458f6fc2cf836735 | |
| parent | 39be2fb2ba9762aee7ddd7f1d679baaf5b3cf68a (diff) | |
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 <shane.wang@intel.com>
| -rw-r--r-- | nova/db/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
