Skip to content

Commit

Permalink
testcontainers deprecated method warning (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Apr 20, 2024
1 parent f363427 commit 837b595
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MinioContainer(accessKey: String, secretKey: String, domain: String)
"MINIO_DOMAIN" -> domain)) {

def getHostAddress: String =
s"http://${container.getContainerIpAddress}:${container.getMappedPort(9000)}"
s"http://${container.getHost}:${container.getMappedPort(9000)}"

def getVirtualHost: String =
s"http://{bucket}.$domain:${container.getMappedPort(9000)}"
Expand Down

0 comments on commit 837b595

Please sign in to comment.