From 113e41250c2e115e178e5d5179ec5d86ce8cf749 Mon Sep 17 00:00:00 2001 From: Emilien Lefrancois Date: Thu, 8 Feb 2024 11:01:17 +0100 Subject: [PATCH] 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 --- openstack/identity/v3/_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/identity/v3/_proxy.py b/openstack/identity/v3/_proxy.py index 316dfe266..50cfe6b0f 100644 --- a/openstack/identity/v3/_proxy.py +++ b/openstack/identity/v3/_proxy.py @@ -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 ==========