From b2931d6f2b9000b5d8ccc4c9e8b9bd6460eb24dd Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Wed, 25 Sep 2024 14:24:59 -0400 Subject: [PATCH] fixup: use minumal ConnectionEvent constructor Signed-off-by: Todd Baert --- .../contrib/providers/flagd/resolver/grpc/GrpcConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/grpc/GrpcConnector.java b/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/grpc/GrpcConnector.java index ed85e8010..4b2563afe 100644 --- a/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/grpc/GrpcConnector.java +++ b/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/grpc/GrpcConnector.java @@ -105,7 +105,7 @@ public void shutdown() throws Exception { this.channel.awaitTermination(this.deadline, TimeUnit.MILLISECONDS); log.warn(String.format("Unable to shut down channel by %d deadline", this.deadline)); } - this.onConnectionEvent.accept(new ConnectionEvent(false, Collections.emptyList(), Collections.emptyMap())); + this.onConnectionEvent.accept(new ConnectionEvent(false)); } }