aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
index 4baea9fae7..1eaa477fca 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
@@ -1,7 +1,7 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
#include <aws/core/Version.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/Aws.h>
@@ -12,8 +12,8 @@
#include <aws/core/external/cjson/cJSON.h>
#include <aws/core/monitoring/MonitoringManager.h>
#include <aws/core/net/Net.h>
-#include <aws/core/config/AWSProfileConfigLoader.h>
-#include <aws/core/internal/AWSHttpResourceClient.h>
+#include <aws/core/config/AWSProfileConfigLoader.h>
+#include <aws/core/internal/AWSHttpResourceClient.h>
namespace Aws
{
@@ -43,9 +43,9 @@ namespace Aws
AWS_LOGSTREAM_INFO(ALLOCATION_TAG, "Initiate AWS SDK for C++ with Version:" << Aws::String(Aws::Version::GetVersionString()));
}
- Aws::Config::InitConfigAndCredentialsCacheManager();
-
- if (options.cryptoOptions.aes_CBCFactory_create_fn)
+ Aws::Config::InitConfigAndCredentialsCacheManager();
+
+ if (options.cryptoOptions.aes_CBCFactory_create_fn)
{
Aws::Utils::Crypto::SetAES_CBCFactory(options.cryptoOptions.aes_CBCFactory_create_fn());
}
@@ -102,26 +102,26 @@ namespace Aws
hooks.free_fn = Aws::Free;
cJSON_InitHooks(&hooks);
Aws::Net::InitNetwork();
- Aws::Internal::InitEC2MetadataClient();
+ Aws::Internal::InitEC2MetadataClient();
Aws::Monitoring::InitMonitoring(options.monitoringOptions.customizedMonitoringFactory_create_fn);
}
void ShutdownAPI(const SDKOptions& options)
{
Aws::Monitoring::CleanupMonitoring();
- Aws::Internal::CleanupEC2MetadataClient();
+ Aws::Internal::CleanupEC2MetadataClient();
Aws::Net::CleanupNetwork();
Aws::CleanupEnumOverflowContainer();
Aws::Http::CleanupHttp();
Aws::Utils::Crypto::CleanupCrypto();
- Aws::Config::CleanupConfigAndCredentialsCacheManager();
-
+ Aws::Config::CleanupConfigAndCredentialsCacheManager();
+
if(options.loggingOptions.logLevel != Aws::Utils::Logging::LogLevel::Off)
{
Aws::Utils::Logging::ShutdownAWSLogging();
}
-
+
Aws::Client::CoreErrorsMapper::CleanupCoreErrorsMapper();
#ifdef USE_AWS_MEMORY_MANAGEMENT