Skip to content

Commit ae5d802

Browse files
author
Sophia Tevosyan
committed
fixing the build error
1 parent fc9cfcf commit ae5d802

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

azurefunctions/src/main/java/com/microsoft/durabletask/azurefunctions/DurableClientContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public DurableTaskClient getClient() {
6161
throw new IllegalStateException("The client context RPC base URL was invalid!", ex);
6262
}
6363

64-
this.client = DurableTaskGrpcClientFactory.getClient(rpcURL.getPort());
64+
this.client = DurableTaskGrpcClientFactory.getClient(rpcURL.getPort(), null);
6565
return this.client;
6666
}
6767

client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ public final class DurableTaskGrpcClient extends DurableTaskClient {
6161
this.sidecarClient = TaskHubSidecarServiceGrpc.newBlockingStub(sidecarGrpcChannel);
6262
}
6363

64-
DurableTaskGrpcClient(int port) {
64+
DurableTaskGrpcClient(int port, String defaultVersion) {
6565
this.dataConverter = new JacksonDataConverter();
66-
this.defaultVersion = null;
66+
this.defaultVersion = defaultVersion;
6767

6868
// Need to keep track of this channel so we can dispose it on close()
6969
this.managedSidecarChannel = ManagedChannelBuilder

client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcClientFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
public final class DurableTaskGrpcClientFactory {
1010
private static final ConcurrentMap<Integer, DurableTaskGrpcClient> portToClientMap = new ConcurrentHashMap<>();
1111

12-
public static DurableTaskClient getClient(int port) {
12+
public static DurableTaskClient getClient(int port, String defaultVersion) {
1313
return portToClientMap.computeIfAbsent(port, DurableTaskGrpcClient::new);
1414
}
1515
}

0 commit comments

Comments
 (0)