From f6ed27c5885a66ef8ea25b26bc94c6a507e56dc6 Mon Sep 17 00:00:00 2001 From: hansmi Date: Mon, 18 Sep 2023 06:45:08 +0200 Subject: [PATCH] Fix for "'VersionedAPIData' object has no attribute 'fully_supported'" (#219) Commit 4b09951 added code looking for a non-existent `fully_supported` attribute. Signed-off-by: Michael Hanselmann --- plugins/module_utils/_api_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index e581bc4..5edfdfc 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -59,11 +59,11 @@ class APIData(object): for other_version, comparator, data in self.versioned: if other_version == '*' and comparator == '*': self._current = data.specialize_for_version(api_version) - return self._current.fully_supported + return self._current.fully_understood other_api_version = LooseVersion(other_version) if _compare(api_version, other_api_version, comparator): self._current = data.specialize_for_version(api_version) - return self._current.fully_supported + return self._current.fully_understood self._current = None return False