Skip to content

Commit

Permalink
remove sonar comment as does not seem possible
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOHart committed Oct 22, 2024
1 parent 8746012 commit 8a07343
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/managedidentity/managedidentity.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,11 @@ const (
miQueryParameterResourceId = "msi_res_id"

// IMDS
// SonarQube: Suppress warning for hardcoded IP address
// NOSONAR
imdsDefaultEndpoint = "http://169.254.169.254/metadata/identity/oauth2/token"
imdsAPIVersion = "2018-02-01"
systemAssignedManagedIdentity = "system_assigned_managed_identity"

// Azure Arc
// SonarQube: Suppress warning for hardcoded IP address
// sonar-ignore: S1313
azureArcEndpoint = "http://127.0.0.1:40342/metadata/identity/oauth2/token"
azureArcAPIVersion = "2020-06-01"
azureArcFileExtension = ".key"
Expand Down

0 comments on commit 8a07343

Please sign in to comment.