Skip to content

Commit f22e41f

Browse files
author
Ajay Kannan
committed
Specify HTTP Transport in DefaultDatastoreRpc
1 parent 21d985c commit f22e41f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gcloud-java-datastore/src/main/java/com/google/gcloud/spi/DefaultDatastoreRpc.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public DefaultDatastoreRpc(DatastoreOptions options) {
6969
String normalizedHost = normalizeHost(options.host());
7070
client = DatastoreFactory.get().create(
7171
new Builder()
72+
.transport(options.httpTransportFactory().create())
7273
.dataset(options.projectId())
7374
.host(normalizedHost)
7475
.initializer(options.httpRequestInitializer())

0 commit comments

Comments
 (0)