From: Joel Coffman Date: Tue, 4 Aug 2015 19:12:22 +0000 (-0400) Subject: Correct comment to be consistent with code X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=847067d89873c8b4c8f39c261226660793fdede5;p=openstack-build%2Fcinder-build.git Correct comment to be consistent with code The volume_encryption_metadata_get function returns more than just the encryption key id. This change generalizes the comment to refer to all the metadata that is returned. Change-Id: I3f154930cec5f065011b40026d3dbdb3a8a2f07d --- diff --git a/cinder/db/sqlalchemy/api.py b/cinder/db/sqlalchemy/api.py index 6c49352d3..45278a834 100644 --- a/cinder/db/sqlalchemy/api.py +++ b/cinder/db/sqlalchemy/api.py @@ -3049,7 +3049,7 @@ def volume_type_encryption_volume_get(context, volume_type_id, session=None): @require_context def volume_encryption_metadata_get(context, volume_id, session=None): - """Return the encryption key id for a given volume.""" + """Return the encryption metadata for a given volume.""" volume_ref = _volume_get(context, volume_id) encryption_ref = volume_type_encryption_get(context,