mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
* applied bugfix from issue
* added changelog fragment
(cherry picked from commit 4d2bed1dde)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
2
changelogs/fragments/4712-consul-bugfix.yaml
Normal file
2
changelogs/fragments/4712-consul-bugfix.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- consul - fixed bug introduced in PR 4590 (https://github.com/ansible-collections/community.general/issues/4680).
|
||||||
@@ -333,7 +333,7 @@ def add_service(module, service):
|
|||||||
service_id=result.id,
|
service_id=result.id,
|
||||||
service_name=result.name,
|
service_name=result.name,
|
||||||
service_port=result.port,
|
service_port=result.port,
|
||||||
checks=[check.to_dict() for check in service.checks],
|
checks=[check.to_dict() for check in service.checks()],
|
||||||
tags=result.tags)
|
tags=result.tags)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user