mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
fix tests
This commit is contained in:
parent
0256ca72c2
commit
cc34c7bd52
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class AnsibleHcloudLoadBalancerTarget(Hcloud):
|
|||
return {
|
||||
"type": to_native(self.hcloud_load_balancer_target.type),
|
||||
"load_balancer": to_native(self.hcloud_load_balancer.name),
|
||||
"server": None if self.hcloud_server else to_native(self.hcloud_server.name),
|
||||
"server": to_native(self.hcloud_server.name) if self.hcloud_server else None,
|
||||
}
|
||||
|
||||
def _get_load_balancer_and_target(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue