mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
better
This commit is contained in:
parent
44e95aa65f
commit
80f0251ff2
@ -136,13 +136,13 @@ void AuthSettings::updateFrom(const AuthSettings & from)
|
|||||||
region = from.region;
|
region = from.region;
|
||||||
server_side_encryption_customer_key_base64 = from.server_side_encryption_customer_key_base64;
|
server_side_encryption_customer_key_base64 = from.server_side_encryption_customer_key_base64;
|
||||||
|
|
||||||
if (from.use_environment_credentials)
|
if (from.use_environment_credentials.has_value())
|
||||||
use_environment_credentials = from.use_environment_credentials;
|
use_environment_credentials = from.use_environment_credentials;
|
||||||
|
|
||||||
if (from.use_insecure_imds_request)
|
if (from.use_insecure_imds_request.has_value())
|
||||||
use_insecure_imds_request = from.use_insecure_imds_request;
|
use_insecure_imds_request = from.use_insecure_imds_request;
|
||||||
|
|
||||||
if (from.expiration_window_seconds)
|
if (from.expiration_window_seconds.has_value())
|
||||||
expiration_window_seconds = from.expiration_window_seconds;
|
expiration_window_seconds = from.expiration_window_seconds;
|
||||||
|
|
||||||
if (from.no_sign_request.has_value())
|
if (from.no_sign_request.has_value())
|
||||||
|
Loading…
Reference in New Issue
Block a user