From 96a5a610f505a1c1a498478072f2af918e1de3d9 Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Mon, 12 Jun 2023 16:31:49 -0700 Subject: [PATCH] remove logs in azure region module --- modules/azure/region.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/azure/region.go b/modules/azure/region.go index e36733531..c478beeb2 100644 --- a/modules/azure/region.go +++ b/modules/azure/region.go @@ -4,7 +4,6 @@ import ( "context" "github.com/gruntwork-io/terratest/modules/collections" - "github.com/gruntwork-io/terratest/modules/logger" "github.com/gruntwork-io/terratest/modules/random" "github.com/gruntwork-io/terratest/modules/testing" ) @@ -115,7 +114,6 @@ func GetRandomRegionE(t testing.TestingT, approvedRegions []string, forbiddenReg regionsToPickFrom = collections.ListSubtract(regionsToPickFrom, forbiddenRegions) region := random.RandomString(regionsToPickFrom) - logger.Logf(t, "Using region %s", region) return region, nil } @@ -138,7 +136,6 @@ func GetAllAzureRegions(t testing.TestingT, subscriptionID string) []string { // GetAllAzureRegionsE gets the list of Azure regions available in this subscription func GetAllAzureRegionsE(t testing.TestingT, subscriptionID string) ([]string, error) { - logger.Log(t, "Looking up all Azure regions available in this account") // Validate Azure subscription ID subscriptionID, err := getTargetAzureSubscription(subscriptionID)