mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Added required comment #10576
This commit is contained in:
parent
a235533d5f
commit
abe40e2127
@ -83,7 +83,8 @@ namespace S3
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<Aws::S3::S3Client> ClientFactory::create(
|
/// This method is not static because it requires ClientFactory to be initialized.
|
||||||
|
std::shared_ptr<Aws::S3::S3Client> ClientFactory::create( // NOLINT
|
||||||
const String & endpoint,
|
const String & endpoint,
|
||||||
const String & access_key_id,
|
const String & access_key_id,
|
||||||
const String & secret_access_key)
|
const String & secret_access_key)
|
||||||
@ -95,7 +96,7 @@ namespace S3
|
|||||||
return create(cfg, access_key_id, secret_access_key);
|
return create(cfg, access_key_id, secret_access_key);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<Aws::S3::S3Client> ClientFactory::create(
|
std::shared_ptr<Aws::S3::S3Client> ClientFactory::create( // NOLINT
|
||||||
Aws::Client::ClientConfiguration & cfg,
|
Aws::Client::ClientConfiguration & cfg,
|
||||||
const String & access_key_id,
|
const String & access_key_id,
|
||||||
const String & secret_access_key)
|
const String & secret_access_key)
|
||||||
|
@ -23,12 +23,12 @@ public:
|
|||||||
|
|
||||||
static ClientFactory & instance();
|
static ClientFactory & instance();
|
||||||
|
|
||||||
static std::shared_ptr<Aws::S3::S3Client> create(
|
std::shared_ptr<Aws::S3::S3Client> create(
|
||||||
const String & endpoint,
|
const String & endpoint,
|
||||||
const String & access_key_id,
|
const String & access_key_id,
|
||||||
const String & secret_access_key);
|
const String & secret_access_key);
|
||||||
|
|
||||||
static std::shared_ptr<Aws::S3::S3Client> create(
|
std::shared_ptr<Aws::S3::S3Client> create(
|
||||||
Aws::Client::ClientConfiguration & cfg,
|
Aws::Client::ClientConfiguration & cfg,
|
||||||
const String & access_key_id,
|
const String & access_key_id,
|
||||||
const String & secret_access_key);
|
const String & secret_access_key);
|
||||||
|
Loading…
Reference in New Issue
Block a user