improve readability

This commit is contained in:
Michael Jerger 2023-05-26 13:06:04 +02:00
parent 92e3181323
commit d8e10b2fda

View file

@ -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: