mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 11:55:04 -02:30
Changing to Version instead of Type
This commit is contained in:
committed by
beeankha
parent
d4971eb7b7
commit
aad432aaa3
@@ -262,7 +262,7 @@ class ControllerAPIModule(ControllerModule):
|
|||||||
|
|
||||||
parsed_collection_version = Version(self._COLLECTION_VERSION).version
|
parsed_collection_version = Version(self._COLLECTION_VERSION).version
|
||||||
if(not controller_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:
|
else:
|
||||||
parsed_controller_version = Version(controller_version).version
|
parsed_controller_version = Version(controller_version).version
|
||||||
if controller_type == 'AWX':
|
if controller_type == 'AWX':
|
||||||
|
|||||||
Reference in New Issue
Block a user