Skip to content

Commit

Permalink
chore: dont add retry interceptor on control client
Browse files Browse the repository at this point in the history
  • Loading branch information
eaddingtonwhite committed Mar 3, 2023
1 parent 8287f8b commit 4ffcff2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/grpcmanagers/control_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ func NewScsControlGrpcManager(request *models.ControlGrpcManagerRequest) (*ScsCo
conn, err := grpc.Dial(
endpoint,
grpc.WithTransportCredentials(credentials.NewTLS(config)),
grpc.WithUnaryInterceptor(interceptor.AddUnaryRetryInterceptor(request.RetryStrategy)),
grpc.WithUnaryInterceptor(interceptor.AddHeadersInterceptor(authToken)),
)
if err != nil {
Expand Down

0 comments on commit 4ffcff2

Please sign in to comment.