Skip to content

Commit

Permalink
chore: Fix endpoint resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
lqiu96 committed Apr 30, 2024
1 parent 91068b0 commit cf37a6b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,11 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde
.setJwtEnabledScopes(JWT_ENABLED_SCOPES);
}

@Override
public String getServiceName() {
return "bigtable";
}

/**
* Returns the object with the settings used for calls to ReadRows.
*
Expand Down Expand Up @@ -613,7 +618,7 @@ UnaryCallSettings<PingAndWarmRequest, Void> pingAndWarmSettings() {

/** Returns a builder containing all the values of this settings class. */
public Builder toBuilder() {
return new Builder(this);
return new Builder(this).setEndpoint(getEndpoint());
}

/** Builder for BigtableDataSettings. */
Expand Down

0 comments on commit cf37a6b

Please sign in to comment.