File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
modules/azure/src/main/java/org/testcontainers/azure Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments