minor fixes

This commit is contained in:
Michael Jerger 2023-05-26 15:30:47 +02:00
parent fa4b58b88c
commit 406a5e6333
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" 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" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__ description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -14,10 +14,10 @@ class Digitalocean(Validateable, CredentialMappingDefault):
self.do_spaces_secret_key = inp.get("do_spaces_secret_key") self.do_spaces_secret_key = inp.get("do_spaces_secret_key")
self.do_as_backend = inp.get("do_as_backend", False) self.do_as_backend = inp.get("do_as_backend", False)
self.do_account_name = inp.get("do_account_name", self.stage) 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 = inp.get("do_bucket")
self.do_bucket_key = inp.get("do_bucket_key") 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]: def validate(self) -> List[str]:
result = [] result = []