Skip to content

Commit

Permalink
addressing comments, credential source type
Browse files Browse the repository at this point in the history
  • Loading branch information
aeitzman committed Jul 7, 2023
1 parent ab12315 commit a0d28cf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ExternalAccountMetricsHandler implements java.io.Serializable {

private final boolean configLifetime;
private final boolean saImpersonation;
private String source;
private String credentialSourceType;

/**
* Constructor for the external account metrics handler.
Expand All @@ -55,7 +55,7 @@ class ExternalAccountMetricsHandler implements java.io.Serializable {
this.saImpersonation = creds.getServiceAccountImpersonationUrl() != null;
this.configLifetime =
creds.getServiceAccountImpersonationOptions().customTokenLifetimeRequested;
this.source = creds.getCredentialSourceType();
this.credentialSourceType = creds.getCredentialSourceType();
}

/**
Expand All @@ -69,7 +69,7 @@ String getExternalAccountMetricsHeader() {
MetricsUtils.getLanguageAndAuthLibraryVersions(),
BYOID_METRICS_SECTION,
SOURCE_KEY,
this.source,
this.credentialSourceType,
IMPERSONATION_KEY,
this.saImpersonation,
CONFIG_LIFETIME_KEY,
Expand Down

0 comments on commit a0d28cf

Please sign in to comment.