]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix docstring for Snapshot model
authorhuangtianhua <huangtianhua@huawei.com>
Mon, 25 Nov 2013 09:55:08 +0000 (17:55 +0800)
committerhuangtianhua <huangtianhua@huawei.com>
Mon, 25 Nov 2013 10:03:36 +0000 (18:03 +0800)
"Represents a block storage device that can be attached to a VM." as the
description of model Snapshot is incorrect.

Change-Id: I1d7c985869f0829b9305a18a3570928a9da40519
Closes-Bug: #1254635

cinder/db/sqlalchemy/models.py

index 66f44a40a634014ee44843ae119e698473060a7d..f4dd4249e49a09210d0dd975f5d1880506aaf11e 100644 (file)
@@ -345,7 +345,7 @@ class Reservation(BASE, CinderBase):
 
 
 class Snapshot(BASE, CinderBase):
-    """Represents a block storage device that can be attached to a VM."""
+    """Represents a snapshot of volume."""
     __tablename__ = 'snapshots'
     id = Column(String(36), primary_key=True)