From aad432aaa3b04f16b0dcfcd10623e7296029fc0f Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Wed, 8 Sep 2021 12:38:38 -0400 Subject: [PATCH] Changing to Version instead of Type --- awx_collection/plugins/module_utils/controller_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx_collection/plugins/module_utils/controller_api.py b/awx_collection/plugins/module_utils/controller_api.py index c27086d74f..fc4d73d69b 100644 --- a/awx_collection/plugins/module_utils/controller_api.py +++ b/awx_collection/plugins/module_utils/controller_api.py @@ -262,7 +262,7 @@ class ControllerAPIModule(ControllerModule): parsed_collection_version = Version(self._COLLECTION_VERSION).version if(not controller_version): - self.warn("You are using the {0} version of this collection but connecting to a controller that did not return a version".format(self._COLLECTION_TYPE)) + self.warn("You are using the {0} version of this collection but connecting to a controller that did not return a version".format(self._COLLECTION_VERSION)) else: parsed_controller_version = Version(controller_version).version if controller_type == 'AWX':