Skip to content

Commit e86259d

Browse files
committed
Merge pull request #448 from ajkannan/specify-transport
Specify HTTP Transport in DefaultDatastoreRpc
2 parents 21d985c + f22e41f commit e86259d

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)