Skip to content

Commit

Permalink
Makes DefaultToIMDS the default 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOHart committed Aug 22, 2024
1 parent 0993a3f commit aadf13d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/managedidentity/managedidentity.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
)

const (
// AzureArc represents the source to acquire token for managed identity is Azure Arc.
AzureArc = 0

// DefaultToIMDS indicates that the source is defaulted to IMDS since no environment variables are set.
DefaultToIMDS = 1
DefaultToIMDS = 0

// AzureArc represents the source to acquire token for managed identity is Azure Arc.
AzureArc = 1
)

// Client is a client that provides access to Managed Identity token calls.
Expand Down

0 comments on commit aadf13d

Please sign in to comment.