improve readability
This commit is contained in:
parent
92e3181323
commit
d8e10b2fda
1 changed files with 5 additions and 10 deletions
|
@ -49,15 +49,10 @@ class InitService:
|
|||
default_mappings += C4k.get_mapping_default()
|
||||
if BuildType.IMAGE in build_types:
|
||||
default_mappings += Image.get_mapping_default()
|
||||
if (
|
||||
BuildType.TERRAFORM in build_types
|
||||
and ProviderType.DIGITALOCEAN in provider_types
|
||||
):
|
||||
if BuildType.TERRAFORM in build_types:
|
||||
if ProviderType.DIGITALOCEAN in provider_types:
|
||||
default_mappings += Digitalocean.get_mapping_default()
|
||||
if (
|
||||
BuildType.TERRAFORM in build_types
|
||||
and ProviderType.HETZNER in provider_types
|
||||
):
|
||||
if ProviderType.HETZNER in provider_types:
|
||||
default_mappings += Hetzner.get_mapping_default()
|
||||
|
||||
if MixinType.RELEASE in mixin_types:
|
||||
|
|
Loading…
Reference in a new issue