diff --git a/novaclient/v2/contrib/list_extensions.py b/novaclient/v2/contrib/list_extensions.py index 9177fa0cd..07f4e3d7f 100644 --- a/novaclient/v2/contrib/list_extensions.py +++ b/novaclient/v2/contrib/list_extensions.py @@ -18,6 +18,6 @@ from novaclient.v2 import list_extensions ListExtResource = list_extensions.ListExtResource -ListExtManager = list_extensions.ListExtResource +ListExtManager = list_extensions.ListExtManager contrib.warn() diff --git a/releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml b/releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml new file mode 100644 index 000000000..6491caecc --- /dev/null +++ b/releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml @@ -0,0 +1,9 @@ +--- +fixes: + - | + The contents of the list_extensions.py file was moved from contrib to v2 + directory in release 7.0.0, and a stub importing the objects from the new + location was left in its place for backward compatibility, together with + a warning informing about the new location. However, the stub incorrectly + assigned the ListExtResource class to the ListExtManager name. This has + now been fixed, and ListExtManager is used instead.