diff options
| author | MORITA Kazutaka <morita.kazutaka@gmail.com> | 2011-05-19 22:06:18 +0900 |
|---|---|---|
| committer | MORITA Kazutaka <morita.kazutaka@gmail.com> | 2011-05-19 22:06:18 +0900 |
| commit | c04a59fefbcbd0e5e21cbc8c70eb3147785cf22d (patch) | |
| tree | d389b6715f2c9eb0eba1ed186bd821ae9ca7cfd9 | |
| parent | a4cc51b78ae5e08227bef7a4be52953776a3e947 (diff) | |
| download | nova-c04a59fefbcbd0e5e21cbc8c70eb3147785cf22d.tar.gz nova-c04a59fefbcbd0e5e21cbc8c70eb3147785cf22d.tar.xz nova-c04a59fefbcbd0e5e21cbc8c70eb3147785cf22d.zip | |
Fix comments.
| -rw-r--r-- | nova/db/api.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nova/db/api.py b/nova/db/api.py index 1ef82b461..3597732b9 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -884,27 +884,27 @@ def volume_update(context, volume_id, values): def snapshot_create(context, values): - """Create a volume from the values dictionary.""" + """Create a snapshot from the values dictionary.""" return IMPL.snapshot_create(context, values) def snapshot_destroy(context, snapshot_id): - """Create a volume from the values dictionary.""" + """Destroy the snapshot or raise if it does not exist.""" return IMPL.snapshot_destroy(context, snapshot_id) def snapshot_get(context, snapshot_id): - """Get a volume or raise if it does not exist.""" + """Get a snapshot or raise if it does not exist.""" return IMPL.snapshot_get(context, snapshot_id) def snapshot_get_all(context): - """Get all volumes.""" + """Get all snapshots.""" return IMPL.snapshot_get_all(context) def snapshot_get_all_by_project(context, project_id): - """Get all volumes belonging to a project.""" + """Get all snapshots belonging to a project.""" return IMPL.snapshot_get_all_by_project(context, project_id) |
