Skip to content

Commit dce7541

Browse files
committed
cleaned up PR
1 parent 8a37893 commit dce7541

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/aws-cpp-sdk-core/include/aws/core/client/UserAgent.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ enum class UserAgentFeature {
3434
GZIP_REQUEST_COMPRESSION,
3535
CREDENTIALS_ENV_VARS,
3636
CREDENTIALS_PROFILE,
37-
CREDENTIALS_PROCESS,
3837
CREDENTIALS_PROFILE_PROCESS,
3938
CREDENTIALS_IMDS,
4039
CREDENTIALS_STS_ASSUME_ROLE,

src/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,6 @@ AWSCredentials Aws::Auth::GetCredentialsFromProcess(const Aws::String& process)
446446
credentials.SetAccountId(credentialsView.GetString("AccountId"));
447447
}
448448

449-
if (!credentials.IsEmpty()) {
450-
credentials.AddUserAgentFeature(UserAgentFeature::CREDENTIALS_PROCESS);
451-
}
452-
453449
AWS_LOGSTREAM_DEBUG(PROFILE_LOG_TAG, "Successfully pulled credentials from process credential with AccessKey: " << accessKey << ", Expiration:" << credentialsView.GetString("Expiration"));
454450
return credentials;
455451
}

src/aws-cpp-sdk-core/source/client/UserAgent.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const std::pair<UserAgentFeature, const char*> BUSINESS_METRIC_MAPPING[] = {
4444
{UserAgentFeature::GZIP_REQUEST_COMPRESSION, "L"},
4545
{UserAgentFeature::CREDENTIALS_ENV_VARS, "g"},
4646
{UserAgentFeature::CREDENTIALS_PROFILE, "n"},
47-
{UserAgentFeature::CREDENTIALS_PROCESS, "w"},
4847
{UserAgentFeature::CREDENTIALS_PROFILE_PROCESS, "v"},
4948
{UserAgentFeature::CREDENTIALS_IMDS, "0"},
5049
{UserAgentFeature::CREDENTIALS_STS_ASSUME_ROLE, "i"},

0 commit comments

Comments
 (0)