Skip to content

Commit 29e900b

Browse files
committed
Polish
1 parent fed6cb7 commit 29e900b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/azure/src/main/java/org/testcontainers/azure/AzureEventHubsContainer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public class AzureEventHubsContainer extends GenericContainer<AzureEventHubsCont
2323
private static final String CONNECTION_STRING_FORMAT =
2424
"Endpoint=sb://%s:%d;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;";
2525

26-
private static final String BOOTSTRAP_SERVERS_FORMAT = "%s:%d";
27-
2826
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse(
2927
"mcr.microsoft.com/azure-messaging/eventhubs-emulator"
3028
);
@@ -77,7 +75,8 @@ public AzureEventHubsContainer withConfig(final Transferable config) {
7775
* @return this
7876
*/
7977
public AzureEventHubsContainer acceptLicense() {
80-
return withEnv("ACCEPT_EULA", "Y");
78+
withEnv("ACCEPT_EULA", "Y");
79+
return this;
8180
}
8281

8382
@Override

0 commit comments

Comments
 (0)