Skip to content

Commit ac1078a

Browse files
committed
fixup: use minumal ConnectionEvent constructor
Signed-off-by: Todd Baert <[email protected]>
1 parent 0b1a336 commit ac1078a

File tree

1 file changed

+1
-1
lines changed
  • providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/grpc

1 file changed

+1
-1
lines changed

providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/grpc/GrpcConnector.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void shutdown() throws Exception {
105105
this.channel.awaitTermination(this.deadline, TimeUnit.MILLISECONDS);
106106
log.warn(String.format("Unable to shut down channel by %d deadline", this.deadline));
107107
}
108-
this.onConnectionEvent.accept(new ConnectionEvent(false, Collections.emptyList(), Collections.emptyMap()));
108+
this.onConnectionEvent.accept(new ConnectionEvent(false));
109109
}
110110
}
111111

0 commit comments

Comments
 (0)