From 406a5e6333d853c05dc5f53900c8d65a2c56f9ef Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 26 May 2023 15:30:47 +0200 Subject: [PATCH] minor fixes --- build.py | 2 +- src/main/python/ddadevops/domain/provider_digitalocean.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 8b23190..ebeaf85 100644 --- a/build.py +++ b/build.py @@ -28,7 +28,7 @@ use_plugin("python.distutils") default_task = "publish" name = "ddadevops" -version = "4.0.0-dev57" +version = "4.0.0-dev59" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/src/main/python/ddadevops/domain/provider_digitalocean.py b/src/main/python/ddadevops/domain/provider_digitalocean.py index 074e625..bbfefa4 100644 --- a/src/main/python/ddadevops/domain/provider_digitalocean.py +++ b/src/main/python/ddadevops/domain/provider_digitalocean.py @@ -14,10 +14,10 @@ class Digitalocean(Validateable, CredentialMappingDefault): self.do_spaces_secret_key = inp.get("do_spaces_secret_key") self.do_as_backend = inp.get("do_as_backend", False) self.do_account_name = inp.get("do_account_name", self.stage) - self.do_endpoint = inp.get("do_endpoint") self.do_bucket = inp.get("do_bucket") self.do_bucket_key = inp.get("do_bucket_key") - self.do_region = inp.get("do_region") + self.do_endpoint = inp.get("do_endpoint", "fra1.digitaloceanspaces.com") + self.do_region = inp.get("do_region", "eu-central-1") def validate(self) -> List[str]: result = []