From e72ac8882e2f09d754ce2a8efa0e66ed32957477 Mon Sep 17 00:00:00 2001 From: patdyn Date: Thu, 27 Jun 2024 11:40:01 +0200 Subject: [PATCH] Rename for better semantics --- .../python/ddadevops/application/terraform_service.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/python/ddadevops/application/terraform_service.py b/src/main/python/ddadevops/application/terraform_service.py index 240356b..18f48cc 100644 --- a/src/main/python/ddadevops/application/terraform_service.py +++ b/src/main/python/ddadevops/application/terraform_service.py @@ -38,13 +38,13 @@ class TerraformService: self.file_api.cp_recursive("scripts", devops.build_path(), check=False) def start_tf_backend_git_daemon(self, devops: Devops): - terraform = devops.specialized_builds[BuildType.TERRAFORM] - credentials = terraform.env_credentials() + terraform_domain = devops.specialized_builds[BuildType.TERRAFORM] + credentials = terraform_domain.env_credentials() self.tf_backend_git_api.start(credentials) def uses_backend_git(self, devops: Devops) -> bool: - terraform = devops.specialized_builds[BuildType.TERRAFORM] - return terraform.uses_backend_git() + terraform_domain = devops.specialized_builds[BuildType.TERRAFORM] + return terraform_domain.uses_backend_git() def read_output(self, devops: Devops) -> map: terraform_domain = devops.specialized_builds[BuildType.TERRAFORM]