Skip to content

Commit 05072a5

Browse files
committed
Do not use path-style access
1 parent f8522c8 commit 05072a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/repository-s3/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if (!s3AccessKey && !s3SecretKey && !s3Bucket && !s3BasePath) {
9393
final String minioVersion = 'RELEASE.2018-06-22T23-48-46Z'
9494
final String minioBinDir = "${buildDir}/minio/bin"
9595
final String minioDataDir = "${buildDir}/minio/data"
96-
final String minioAddress = "localhost:60920"
96+
final String minioAddress = "127.0.0.1:60920"
9797

9898
final String minioDistribution
9999
final String minioCheckSum
@@ -160,7 +160,6 @@ if (useFixture && minioDistribution) {
160160
minioDataDir)
161161
minio.environment().put('MINIO_ACCESS_KEY', s3AccessKey)
162162
minio.environment().put('MINIO_SECRET_KEY', s3SecretKey)
163-
minio.environment().put('MINIO_DOMAIN', 'localhost')
164163
final Process process = minio.start()
165164
if (JavaVersion.current() <= JavaVersion.VERSION_1_8) {
166165
try {

0 commit comments

Comments
 (0)