Fix AttributeError in delete_limit method

This commit resolves an issue in the delete_limit method of the
Identity V3 Proxy class. The method was incorrectly trying to
access a 'Limit' attribute of a 'Limit' object, causing an
AttributeError. The fix involves correctly passing the 'Limit'
class from the '_limit' module as the first argument to the
'_delete' method.

Closes-Bug: #2052650
Change-Id: I435f52f8085c899fe1be57fcd5a2ce6f04618427
This commit is contained in:
Emilien Lefrancois 2024-02-08 11:01:17 +01:00 committed by Stephen Finucane
parent b3c5a30d8f
commit 113e41250c
1 changed files with 1 additions and 1 deletions

View File

@ -1372,7 +1372,7 @@ class Proxy(proxy.Proxy):
:returns: ``None``
"""
self._delete(limit.Limit, limit, ignore_missing=ignore_missing)
self._delete(_limit.Limit, limit, ignore_missing=ignore_missing)
# ========== Roles ==========