Remove unnecessary settings in test method

This commit is contained in:
tlrx 2014-11-26 12:48:45 +01:00
parent d680b94eb7
commit f4057f2a83
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ abstract public class AbstractS3SnapshotRestoreTest extends AbstractAwsTest {
Settings settings = internalCluster().getInstance(Settings.class);
Settings bucket = settings.getByPrefix("repositories.s3.");
AmazonS3 s3Client = internalCluster().getInstance(AwsS3Service.class).client(
bucket.get("endpoint", settings.get("repositories.s3.endpoint")),
bucket.get("protocol", settings.get("repositories.s3.protocol")),
null,
null,
bucket.get("region", settings.get("repositories.s3.region")),
bucket.get("access_key", settings.get("cloud.aws.access_key")),
bucket.get("secret_key", settings.get("cloud.aws.secret_key")));