mirror of
https://github.com/ansible/ansible.git
synced 2026-05-28 04:32:20 -04:00
Merge e2963313c6 into ba21909655
This commit is contained in:
commit
c9c47dc4f4
1 changed files with 2 additions and 0 deletions
|
|
@ -337,6 +337,8 @@ class _ComputedReqKindsMixin:
|
|||
) -> t.Self:
|
||||
req_name = collection_req.get('name', None)
|
||||
req_version = collection_req.get('version', '*')
|
||||
if req_version is not None:
|
||||
req_version = str(req_version)
|
||||
req_type = collection_req.get('type')
|
||||
# TODO: decide how to deprecate the old src API behavior
|
||||
req_source = collection_req.get('source', None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue