Skip to content

Commit bd56a35

Browse files
committed
breaking for loop when setting interceptors
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
1 parent 6b1bfd2 commit bd56a35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

durabletask/internal/shared.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def get_grpc_channel(
5555
# Check if we are using DTS as the backend and if so, construct the DTS specific interceptors
5656
if key == "dts":
5757
interceptors = [DTSDefaultClientInterceptorImpl(metadata)]
58+
break
5859
else:
5960
interceptors = [DefaultClientInterceptorImpl(metadata)]
6061
channel = grpc.intercept_channel(channel, *interceptors)

0 commit comments

Comments
 (0)