From a12aa0fe931e518a90bf7c4393aa313cd0d75725 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:25:40 +0000 Subject: [PATCH 1/2] chore(deps): update dependency hcloud to v2.2.1 --- scripts/vendor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vendor.py b/scripts/vendor.py index 415d2202..fce5f90b 100755 --- a/scripts/vendor.py +++ b/scripts/vendor.py @@ -22,7 +22,7 @@ logger = logging.getLogger("vendor") HCLOUD_SOURCE_URL = "https://github.com/hetznercloud/hcloud-python" -HCLOUD_VERSION = "v2.2.0" +HCLOUD_VERSION = "v2.2.1" HCLOUD_VENDOR_PATH = "plugins/module_utils/vendor/hcloud" From f6a49ceaf9f0b0366edca5dba31abecf8b3ae9c3 Mon Sep 17 00:00:00 2001 From: jo Date: Fri, 30 Aug 2024 15:10:18 +0200 Subject: [PATCH 2/2] update files --- plugins/module_utils/vendor/hcloud/_version.py | 2 +- .../module_utils/vendor/hcloud/load_balancer_types/domain.py | 4 ++-- plugins/module_utils/vendor/hcloud/server_types/domain.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/module_utils/vendor/hcloud/_version.py b/plugins/module_utils/vendor/hcloud/_version.py index 1fc7f59e..dfcddff3 100644 --- a/plugins/module_utils/vendor/hcloud/_version.py +++ b/plugins/module_utils/vendor/hcloud/_version.py @@ -1,3 +1,3 @@ from __future__ import annotations -__version__ = "2.2.0" # x-release-please-version +__version__ = "2.2.1" # x-release-please-version diff --git a/plugins/module_utils/vendor/hcloud/load_balancer_types/domain.py b/plugins/module_utils/vendor/hcloud/load_balancer_types/domain.py index 6ef4c284..9142cb58 100644 --- a/plugins/module_utils/vendor/hcloud/load_balancer_types/domain.py +++ b/plugins/module_utils/vendor/hcloud/load_balancer_types/domain.py @@ -20,7 +20,7 @@ class LoadBalancerType(BaseDomain, DomainIdentityMixin): Max amount of targets the Load Balancer can handle :param max_assigned_certificates: int Max amount of certificates the Load Balancer can serve - :param prices: Dict + :param prices: List of dict Prices in different locations """ @@ -46,7 +46,7 @@ def __init__( max_services: int | None = None, max_targets: int | None = None, max_assigned_certificates: int | None = None, - prices: dict | None = None, + prices: list[dict] | None = None, ): self.id = id self.name = name diff --git a/plugins/module_utils/vendor/hcloud/server_types/domain.py b/plugins/module_utils/vendor/hcloud/server_types/domain.py index d026f866..c2031c6a 100644 --- a/plugins/module_utils/vendor/hcloud/server_types/domain.py +++ b/plugins/module_utils/vendor/hcloud/server_types/domain.py @@ -21,7 +21,7 @@ class ServerType(BaseDomain, DomainIdentityMixin): Memory a server of this type will have in GB :param disk: int Disk size a server of this type will have in GB - :param prices: Dict + :param prices: List of dict Prices in different locations :param storage_type: str Type of server boot drive. Local has higher speed. Network has better availability. Choices: `local`, `network` @@ -69,7 +69,7 @@ def __init__( cores: int | None = None, memory: int | None = None, disk: int | None = None, - prices: dict | None = None, + prices: list[dict] | None = None, storage_type: str | None = None, cpu_type: str | None = None, architecture: str | None = None,