We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0762a9 commit c23f49fCopy full SHA for c23f49f
1 file changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java
@@ -1950,7 +1950,7 @@ public Builder setDefaultTransactionOptions(
1950
@Override
1951
public SpannerOptions build() {
1952
// Set the host of emulator has been set.
1953
- if (emulatorHost != null) {
+ if (emulatorHost != null && experimentalHost == null) {
1954
if (!emulatorHost.startsWith("http")) {
1955
emulatorHost = "http://" + emulatorHost;
1956
}
0 commit comments