1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

consul: applied bugfix from issue (#4712)

* applied bugfix from issue

* added changelog fragment
This commit is contained in:
Alexei Znamensky 2022-05-23 17:22:15 +12:00 committed by GitHub
parent 6052776de1
commit 4d2bed1dde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- consul - fixed bug introduced in PR 4590 (https://github.com/ansible-collections/community.general/issues/4680).

View file

@ -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)