Skip to content

Commit

Permalink
README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-krecan committed Nov 7, 2023
1 parent 32b54e2 commit 1f16255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,7 @@ public LockProvider lockProvider(DatabaseClient databaseClient) {
// Custom host, table and column names
@Bean
public LockProvider lockProvider(DatabaseClient databaseClient) {

var config = SpannerLockProvider.Configuration.builder()
var config = SpannerLockProvider.Configuration.builder()
.withDatabaseClient(databaseClientSupplier)
.withTableConfiguration(SpannerLockProvider.TableConfiguration.builder()
...
Expand All @@ -883,7 +882,8 @@ public LockProvider lockProvider(DatabaseClient databaseClient) {
.withHostName("customHostName")
.build();

return new SpannerLockProvider(config);
return new SpannerLockProvider(config);
}
```


Expand Down

0 comments on commit 1f16255

Please sign in to comment.