From 88499ab1b644c04468f3c88375d4031920c63479 Mon Sep 17 00:00:00 2001 From: JinmingHu Date: Tue, 30 Mar 2021 09:35:50 +0800 Subject: [PATCH] fix user-agent (#1990) --- .../src/datalake_file_system_client.cpp | 6 +++--- .../src/datalake_path_client.cpp | 6 +++--- .../src/datalake_service_client.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk/storage/azure-storage-files-datalake/src/datalake_file_system_client.cpp b/sdk/storage/azure-storage-files-datalake/src/datalake_file_system_client.cpp index 7aec1f310..ed1f3cf8c 100644 --- a/sdk/storage/azure-storage-files-datalake/src/datalake_file_system_client.cpp +++ b/sdk/storage/azure-storage-files-datalake/src/datalake_file_system_client.cpp @@ -65,7 +65,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(newOptions.ApiVersion)); m_pipeline = std::make_shared( newOptions, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); @@ -96,7 +96,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(options.ApiVersion)); m_pipeline = std::make_shared( options, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); @@ -118,7 +118,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(options.ApiVersion)); m_pipeline = std::make_shared( options, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); diff --git a/sdk/storage/azure-storage-files-datalake/src/datalake_path_client.cpp b/sdk/storage/azure-storage-files-datalake/src/datalake_path_client.cpp index 73d2b9e17..64f179601 100644 --- a/sdk/storage/azure-storage-files-datalake/src/datalake_path_client.cpp +++ b/sdk/storage/azure-storage-files-datalake/src/datalake_path_client.cpp @@ -102,7 +102,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(newOptions.ApiVersion)); m_pipeline = std::make_shared( newOptions, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); @@ -133,7 +133,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(options.ApiVersion)); m_pipeline = std::make_shared( options, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); @@ -154,7 +154,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(options.ApiVersion)); m_pipeline = std::make_shared( options, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); diff --git a/sdk/storage/azure-storage-files-datalake/src/datalake_service_client.cpp b/sdk/storage/azure-storage-files-datalake/src/datalake_service_client.cpp index 13d918a48..2084fb018 100644 --- a/sdk/storage/azure-storage-files-datalake/src/datalake_service_client.cpp +++ b/sdk/storage/azure-storage-files-datalake/src/datalake_service_client.cpp @@ -104,7 +104,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(newOptions.ApiVersion)); m_pipeline = std::make_shared( newOptions, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); @@ -135,7 +135,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(options.ApiVersion)); m_pipeline = std::make_shared( options, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies)); @@ -157,7 +157,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { std::make_unique<_internal::StorageServiceVersionPolicy>(options.ApiVersion)); m_pipeline = std::make_shared( options, - _internal::FileServicePackageName, + _internal::DatalakeServicePackageName, PackageVersion::VersionString(), std::move(perRetryPolicies), std::move(perOperationPolicies));