Skip to content

Commit

Permalink
Remove debug logging to stdout polluting test outputs (#789)
Browse files Browse the repository at this point in the history
mouellet authored Mar 4, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2114c22 commit 8361e81
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/azure/common.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package azure

import (
"fmt"
"os"
)

@@ -21,7 +20,6 @@ func GetTargetAzureSubscription(subscriptionID string) (string, error) {
}

func getTargetAzureSubscription(subscriptionID string) (string, error) {
fmt.Printf("Initial subscription ID is %s\n", subscriptionID)
if subscriptionID == "" {
if id, exists := os.LookupEnv(AzureSubscriptionID); exists {
return id, nil
@@ -30,8 +28,6 @@ func getTargetAzureSubscription(subscriptionID string) (string, error) {
return "", SubscriptionIDNotFound{}
}

fmt.Printf("Final subscription ID is %s\n", subscriptionID)

return subscriptionID, nil
}

0 comments on commit 8361e81

Please sign in to comment.