Changing to Version instead of Type

This commit is contained in:
John Westcott IV 2021-09-08 12:38:38 -04:00 committed by beeankha
parent d4971eb7b7
commit aad432aaa3

View File

@ -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':