Remove outdated comment

The get operation supports all object types, not just symmetric keys.

Change-Id: I0fe566df3235874aac57b45f9421da72c52b74d8
This commit is contained in:
Kaitlin Farr 2016-12-12 14:02:41 -05:00 committed by Dave McCowan
parent ad186ebe94
commit f96ba10252
1 changed files with 2 additions and 4 deletions

View File

@ -517,12 +517,10 @@ class BarbicanKeyManager(key_manager.KeyManager):
def get(self, context, managed_object_id): def get(self, context, managed_object_id):
"""Retrieves the specified managed object. """Retrieves the specified managed object.
Currently only supports retrieving symmetric keys.
:param context: contains information of the user and the environment :param context: contains information of the user and the environment
for the request (castellan/context.py) for the request (castellan/context.py)
:param managed_object_id: the UUID of the object to retrieve :param managed_object_id: the UUID of the object to retrieve
:return: SymmetricKey representation of the key :return: ManagedObject representation of the managed object
:raises KeyManagerError: if object retrieval fails :raises KeyManagerError: if object retrieval fails
:raises ManagedObjectNotFoundError: if object not found :raises ManagedObjectNotFoundError: if object not found
""" """
@ -545,7 +543,7 @@ class BarbicanKeyManager(key_manager.KeyManager):
:param context: contains information of the user and the environment :param context: contains information of the user and the environment
for the request (castellan/context.py) for the request (castellan/context.py)
:param managed_object_id: the UUID of the object to delete :param managed_object_id: the UUID of the object to delete
:raises KeyManagerError: if key deletion fails :raises KeyManagerError: if object deletion fails
:raises ManagedObjectNotFoundError: if the object could not be found :raises ManagedObjectNotFoundError: if the object could not be found
""" """
barbican_client = self._get_barbican_client(context) barbican_client = self._get_barbican_client(context)