Skip to content

Commit

Permalink
consul: applied bugfix from issue (#4712)
Browse files Browse the repository at this point in the history
* applied bugfix from issue

* added changelog fragment
  • Loading branch information
russoz authored May 23, 2022
1 parent 6052776 commit 4d2bed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/4712-consul-bugfix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- consul - fixed bug introduced in PR 4590 (https://github.com/ansible-collections/community.general/issues/4680).
2 changes: 1 addition & 1 deletion plugins/modules/clustering/consul/consul.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def add_service(module, service):
service_id=result.id,
service_name=result.name,
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)


Expand Down

0 comments on commit 4d2bed1

Please sign in to comment.