mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
fix: invalid field in load_balancer_service health_check.http return data (#333)
##### SUMMARY In the `hcloud_load_balancer_service` return data, the `health_check.http.certificates` field must be named `health_check.http.status_codes`. https://docs.hetzner.cloud/#load-balancers-get-a-load-balancer Fixes #332 ##### ISSUE TYPE - Bugfix Pull Request ##### COMPONENT NAME hcloud_load_balancer_service
This commit is contained in:
parent
73f0e3c708
commit
fb35516e76
2 changed files with 5 additions and 1 deletions
|
|
@ -0,0 +1,4 @@
|
||||||
|
bugfixes:
|
||||||
|
- >
|
||||||
|
hcloud_load_balancer_service - In the returned data, the invalid
|
||||||
|
`health_check.http.certificates` field was renamed to `health_check.http.status_codes`.
|
||||||
|
|
@ -322,7 +322,7 @@ class AnsibleHCloudLoadBalancerService(AnsibleHCloud):
|
||||||
"domain": to_native(self.hcloud_load_balancer_service.health_check.http.domain),
|
"domain": to_native(self.hcloud_load_balancer_service.health_check.http.domain),
|
||||||
"path": to_native(self.hcloud_load_balancer_service.health_check.http.path),
|
"path": to_native(self.hcloud_load_balancer_service.health_check.http.path),
|
||||||
"response": to_native(self.hcloud_load_balancer_service.health_check.http.response),
|
"response": to_native(self.hcloud_load_balancer_service.health_check.http.response),
|
||||||
"certificates": [
|
"status_codes": [
|
||||||
to_native(status_code)
|
to_native(status_code)
|
||||||
for status_code in self.hcloud_load_balancer_service.health_check.http.status_codes
|
for status_code in self.hcloud_load_balancer_service.health_check.http.status_codes
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue