Skip to content

Commit

Permalink
remove logs in azure region module
Browse files Browse the repository at this point in the history
  • Loading branch information
HadwaAbdelhalem committed Jun 12, 2023
1 parent 85b23db commit 96a5a61
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/azure/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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
}

Expand All @@ -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)
Expand Down

0 comments on commit 96a5a61

Please sign in to comment.