mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
hcloud: Fix testsuite (#55076)
This commit is contained in:
parent
a971a0eb80
commit
3f579eb68f
21 changed files with 47 additions and 75 deletions
|
@ -134,7 +134,7 @@ class AnsibleHcloudVolumeFacts(Hcloud):
|
|||
self.module.params.get("name")
|
||||
)]
|
||||
elif self.module.params.get("label_selector") is not None:
|
||||
self.hcloud_volume_facts = self.client.servers.get_all(
|
||||
self.hcloud_volume_facts = self.client.volumes.get_all(
|
||||
label_selector=self.module.params.get("label_selector"))
|
||||
else:
|
||||
self.hcloud_volume_facts = self.client.volumes.get_all()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue