Rename for better semantics

This commit is contained in:
patdyn 2024-06-27 11:40:01 +02:00
parent de23855d65
commit e72ac8882e

View file

@ -38,13 +38,13 @@ class TerraformService:
self.file_api.cp_recursive("scripts", devops.build_path(), check=False) self.file_api.cp_recursive("scripts", devops.build_path(), check=False)
def start_tf_backend_git_daemon(self, devops: Devops): def start_tf_backend_git_daemon(self, devops: Devops):
terraform = devops.specialized_builds[BuildType.TERRAFORM] terraform_domain = devops.specialized_builds[BuildType.TERRAFORM]
credentials = terraform.env_credentials() credentials = terraform_domain.env_credentials()
self.tf_backend_git_api.start(credentials) self.tf_backend_git_api.start(credentials)
def uses_backend_git(self, devops: Devops) -> bool: def uses_backend_git(self, devops: Devops) -> bool:
terraform = devops.specialized_builds[BuildType.TERRAFORM] terraform_domain = devops.specialized_builds[BuildType.TERRAFORM]
return terraform.uses_backend_git() return terraform_domain.uses_backend_git()
def read_output(self, devops: Devops) -> map: def read_output(self, devops: Devops) -> map:
terraform_domain = devops.specialized_builds[BuildType.TERRAFORM] terraform_domain = devops.specialized_builds[BuildType.TERRAFORM]