Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOHart committed Oct 22, 2024
1 parent facdada commit 859648d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/managedidentity/managedidentity.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,15 +429,13 @@ func createAzureArcAuthRequest(ctx context.Context, resource string) (*http.Requ

func isAzureArcEnvironment(identityEndpoint, imdsEndpoint string, platform string) bool {
if identityEndpoint != "" && imdsEndpoint != "" {
println("Found identity and imds endpoint")
return true
}

himdsFilePath := getAzureArcFilePath(platform)

if himdsFilePath != "" {
if _, err := os.Stat(himdsFilePath); err == nil {
println("Found himds file")
return true
}
}
Expand Down

0 comments on commit 859648d

Please sign in to comment.