@@ -33,7 +33,7 @@ public class AzuriteContainer extends GenericContainer<AzuriteContainer> {
3333 private static final int DEFAULT_TABLE_PORT = 10002 ;
3434
3535 private static final String CONNECTION_STRING_FORMAT =
36- "DefaultEndpointsProtocol=%s;AccountName=%s;AccountKey=%s;BlobEndpoint=%s://%s:%d/%s;QueueEndpoint=%s://%s:%d/%s;TableEndpoint=%s://%s:%d/%s;" ;
36+ "DefaultEndpointsProtocol=%s;AccountName=%s;AccountKey=%s;BlobEndpoint=%s://%s:%d/%s;QueueEndpoint=%s://%s:%d/%s;TableEndpoint=%s://%s:%d/%s;" ;
3737
3838 /**
3939 * The account name of the default credentials.
@@ -44,10 +44,10 @@ public class AzuriteContainer extends GenericContainer<AzuriteContainer> {
4444 * The account key of the default credentials.
4545 */
4646 public static final String WELL_KNOWN_ACCOUNT_KEY =
47- "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" ;
47+ "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" ;
4848
4949 private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName .parse (
50- "mcr.microsoft.com/azure-storage/azurite"
50+ "mcr.microsoft.com/azure-storage/azurite"
5151 );
5252
5353 private String host = DEFAULT_HOST ;
@@ -143,22 +143,22 @@ public String getDefaultConnectionString() {
143143 public String getConnectionString (final String accountName , final String accountKey ) {
144144 final String protocol = cert != null ? "https" : "http" ;
145145 return String .format (
146- CONNECTION_STRING_FORMAT ,
147- protocol ,
148- accountName ,
149- accountKey ,
150- protocol ,
151- host ,
152- getMappedPort (DEFAULT_BLOB_PORT ),
153- accountName ,
154- protocol ,
155- host ,
156- getMappedPort (DEFAULT_QUEUE_PORT ),
157- accountName ,
158- protocol ,
159- host ,
160- getMappedPort (DEFAULT_TABLE_PORT ),
161- accountName
146+ CONNECTION_STRING_FORMAT ,
147+ protocol ,
148+ accountName ,
149+ accountKey ,
150+ protocol ,
151+ host ,
152+ getMappedPort (DEFAULT_BLOB_PORT ),
153+ accountName ,
154+ protocol ,
155+ host ,
156+ getMappedPort (DEFAULT_QUEUE_PORT ),
157+ accountName ,
158+ protocol ,
159+ host ,
160+ getMappedPort (DEFAULT_TABLE_PORT ),
161+ accountName
162162 );
163163 }
164164
0 commit comments