]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Refactor to remove duplicate code
authorJoel Coffman <joel.coffman@jhuapl.edu>
Mon, 17 Aug 2015 15:07:32 +0000 (11:07 -0400)
committerJoel Coffman <joel.coffman@jhuapl.edu>
Mon, 17 Aug 2015 19:16:47 +0000 (15:16 -0400)
commit13682d018824544f0c6f54ed44645c8757f1c7cf
tree31532c7c450c396788215af23ec943cb94d7b6dc
parent442aea54c9cdcbeb44b9eb8289b8207dddfd4adc
Refactor to remove duplicate code

This change reuses the get_volume_type_encryption function for the
implementation of the is_encrypted function.

Change-Id: Ie6434016840c20229b3a32b676aa8fc994f9362b
cinder/volume/volume_types.py