From 1aa5fccaa53b7da990595cff68121663ad93161c Mon Sep 17 00:00:00 2001 From: Andy Coates <8012398+big-andy-coates@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:09:25 +0100 Subject: [PATCH] Fix sr env in `DockerKafkaEnvironment` (#343) Co-authored-by: Andrew Coates --- .../src/main/java/io/specmesh/kafka/DockerKafkaEnvironment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kafka-test/src/main/java/io/specmesh/kafka/DockerKafkaEnvironment.java b/kafka-test/src/main/java/io/specmesh/kafka/DockerKafkaEnvironment.java index 40d51c98..d56b0966 100644 --- a/kafka-test/src/main/java/io/specmesh/kafka/DockerKafkaEnvironment.java +++ b/kafka-test/src/main/java/io/specmesh/kafka/DockerKafkaEnvironment.java @@ -370,7 +370,7 @@ public Builder withSchemaRegistryEnv(final String key, final String value) { * @return self. */ public Builder withSchemaRegistryEnv(final Map env) { - this.kafkaEnv.putAll(env); + this.srEnv.putAll(env); return this; }