commit | 506efe2d75f9c78ecad649727d0c0d79f3df8134 | [log] [tgz] |
---|---|---|
author | Anna Babich <ababich@mirantis.com> | Thu Sep 08 18:14:22 2016 +0300 |
committer | Anna Babich <ababich@mirantis.com> | Mon Sep 12 15:04:36 2016 +0300 |
tree | a02c21bbc99f534f0a9cf03a885246189e25eb50 | |
parent | ca40dc85f1857b131c6f24574f7133e740d38c89 [diff] |
Use local variable for volume instead of instance one The patch is a follow up to finish replacing instance variables by local ones for volume, as it has been done in [1] for server. Also, the _delete_volume() helper function has been replaced by self.delete_volume method from base class, which waits for volume to be gone itself, so we don't need to use an extra check for it. [1] https://review.openstack.org/#/c/333305 Change-Id: Id217d7a374c663982a9f97b83c72923136305f9f