improve readability
This commit is contained in:
parent
92e3181323
commit
d8e10b2fda
1 changed files with 5 additions and 10 deletions
|
@ -49,16 +49,11 @@ 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
|
||||
):
|
||||
default_mappings += Digitalocean.get_mapping_default()
|
||||
if (
|
||||
BuildType.TERRAFORM in build_types
|
||||
and ProviderType.HETZNER in provider_types
|
||||
):
|
||||
default_mappings += Hetzner.get_mapping_default()
|
||||
if BuildType.TERRAFORM in build_types:
|
||||
if ProviderType.DIGITALOCEAN in provider_types:
|
||||
default_mappings += Digitalocean.get_mapping_default()
|
||||
if ProviderType.HETZNER in provider_types:
|
||||
default_mappings += Hetzner.get_mapping_default()
|
||||
|
||||
if MixinType.RELEASE in mixin_types:
|
||||
primary_build_file_id = inp.get(
|
||||
|
|
Loading…
Reference in a new issue