diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index 0f9b2c56e..2fd38b7d4 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -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 != "") {