mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-03 16:17:19 +02:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
87e7d3e625
commit
9894bbb1b4
1 changed files with 4 additions and 4 deletions
|
@ -98,10 +98,9 @@ int CmdSync::execute(std::string& output) {
|
|||
Context::getContext().config.get("sync.aws.secret_access_key");
|
||||
std::string aws_default_credentials =
|
||||
Context::getContext().config.get("sync.aws.default_credentials");
|
||||
std::string aws_endpoint_url =
|
||||
Context::getContext().config.get("sync.aws.endpoint_url");
|
||||
std::string aws_endpoint_url = Context::getContext().config.get("sync.aws.endpoint_url");
|
||||
bool aws_force_path_style =
|
||||
Context::getContext().config.getBoolean("sync.aws.force_path_style");
|
||||
Context::getContext().config.getBoolean("sync.aws.force_path_style");
|
||||
if (encryption_secret == "") {
|
||||
throw std::string("sync.encryption_secret is required");
|
||||
}
|
||||
|
@ -136,7 +135,8 @@ int CmdSync::execute(std::string& output) {
|
|||
avoid_snapshots, aws_endpoint_url, aws_force_path_style);
|
||||
} else {
|
||||
replica->sync_to_aws_with_default_creds(aws_region, aws_bucket, encryption_secret,
|
||||
avoid_snapshots, aws_endpoint_url, aws_force_path_style);
|
||||
avoid_snapshots, aws_endpoint_url,
|
||||
aws_force_path_style);
|
||||
}
|
||||
|
||||
} else if (gcp_bucket != "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue