Skip to content

Commit

Permalink
Use gatewayProviders instead of storageProviders on conn pool (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
refs authored Jul 1, 2020
1 parent cbfe059 commit 780b237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rgrpc/todo/pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func GetGatewayServiceClient(endpoint string) (gateway.GatewayAPIClient, error)
}

v := gateway.NewGatewayAPIClient(conn)
storageProviders.conn[endpoint] = v
gatewayProviders.conn[endpoint] = v

return v, nil
}
Expand Down

0 comments on commit 780b237

Please sign in to comment.