Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy666103 committed Oct 30, 2024
1 parent 4f524ac commit 23ed35a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class BroadcastConsumerIT {

@Before
public void setup() {
String ip = System.getenv("zookeeper.address");
String ip = System.getProperty("zookeeper.address");
ReferenceConfig<DemoService> broadcastReference = ReferenceBuilder.<DemoService>newBuilder()
.interfaceClass(DemoService.class)
.addRegistry(new RegistryConfig("zookeeper://" + ip + ":2181"))
Expand Down

0 comments on commit 23ed35a

Please sign in to comment.