]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove redundant definition of 'deleted'
authorSergey Gotliv <sgotliv@redhat.com>
Wed, 27 Jan 2016 06:20:09 +0000 (08:20 +0200)
committerSergey Gotliv <sgotliv@redhat.com>
Wed, 27 Jan 2016 06:20:09 +0000 (08:20 +0200)
Remove redundant definition of class variable 'deleted' from
models.Volume because it's already defined in the parent class
CinderBase.

Change-Id: I9fcd9ff1b99a8e018043fe61cd06059681fdb266

cinder/db/sqlalchemy/models.py

index fb7d949c6444bdf0dc4a13e85db53db767bd068b..6e42bf8f5b3edeb2f33d01df054ca0382652d925 100644 (file)
@@ -165,7 +165,6 @@ class Volume(BASE, CinderBase):
 
     consistencygroup_id = Column(String(36))
 
-    deleted = Column(Boolean, default=False)
     bootable = Column(Boolean, default=False)
     multiattach = Column(Boolean, default=False)