Skip to content

Commit

Permalink
add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandmkunkel committed Jul 16, 2024
1 parent 732979f commit b310715
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/util/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,18 @@ func New(log *logrus.Entry, environment env.Core, ci bool) (*Cluster, error) {
return nil, err
}

clientId, _ := os.LookupEnv("AZURE_CLIENT_ID")
log.Info("AZURE_CLIENT_ID: %s", clientId)

Check failure on line 86 in pkg/util/cluster/cluster.go

View workflow job for this annotation

GitHub Actions / golangci-lint

printf: (*github.com/sirupsen/logrus.Entry).Info call has possible Printf formatting directive %s (govet)

fpClientId, _ := os.LookupEnv("AZURE_FP_CLIENT_ID")
log.Info("AZURE_FP_CLIENT_ID: %s", fpClientId)

Check failure on line 89 in pkg/util/cluster/cluster.go

View workflow job for this annotation

GitHub Actions / golangci-lint

printf: (*github.com/sirupsen/logrus.Entry).Info call has possible Printf formatting directive %s (govet)

tenantId, _ := os.LookupEnv("AZURE_TENANT_ID")
log.Info("AZURE_TENANT_ID: %s", tenantId)

Check failure on line 92 in pkg/util/cluster/cluster.go

View workflow job for this annotation

GitHub Actions / golangci-lint

printf: (*github.com/sirupsen/logrus.Entry).Info call has possible Printf formatting directive %s (govet)

subscriptionId, _ := os.LookupEnv("AZURE_SUBSCRIPTION_ID")
log.Info("AZURE_SUBSCRIPTION_ID: %s", subscriptionId)

Check failure on line 95 in pkg/util/cluster/cluster.go

View workflow job for this annotation

GitHub Actions / golangci-lint

printf: (*github.com/sirupsen/logrus.Entry).Info call has possible Printf formatting directive %s (govet)

spGraphClient, err := environment.Environment().NewGraphServiceClient(spTokenCredential)
if err != nil {
return nil, err
Expand Down

0 comments on commit b310715

Please sign in to comment.