Remove deprecated object storage client interfaces

These were deprecated during Queens cycle. Codesearch shows no usage
of these.

Change-Id: Iad5baa11aff0f4ecccd0852f50d29537a809b446
This commit is contained in:
Takashi Kajinami 2024-02-09 13:00:57 +09:00
parent 1da7a33099
commit 47880ca10c
2 changed files with 8 additions and 10 deletions

View File

@ -0,0 +1,8 @@
---
upgrade:
- |
The following deprecated alias methods of the ``ContainerClient`` class
has been removed.
- ``update_container_metadata``, replaced by ``create_update_or_delete_container_metadata``
- ``list_container_contents``, replaced by ``list_container_objects``

View File

@ -15,7 +15,6 @@
from urllib import parse as urllib
import debtcollector.moves
from defusedxml import ElementTree as etree
from oslo_serialization import jsonutils as json
@ -85,11 +84,6 @@ class ContainerClient(rest_client.RestClient):
self.expected_success(204, resp.status)
return resp, body
update_container_metadata = debtcollector.moves.moved_function(
create_update_or_delete_container_metadata,
'update_container_metadata', __name__,
version='Queens', removal_version='Rocky')
def list_container_metadata(self, container_name):
"""List all container metadata."""
url = str(container_name)
@ -126,7 +120,3 @@ class ContainerClient(rest_client.RestClient):
self.expected_success([200, 204], resp.status)
return resp, body
list_container_contents = debtcollector.moves.moved_function(
list_container_objects, 'list_container_contents', __name__,
version='Queens', removal_version='Rocky')