Skip to content

Commit cad3629

Browse files
authored
Merge pull request #77 from eolivelli/impl/database-keyspaces-dev
DbKeyspacesClient should propate the Enviroment to the inner DatabaseClient
2 parents f2ab29d + ea9846d commit cad3629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astra-sdk-devops/src/main/java/com/dtsx/astra/sdk/db/DbKeyspacesClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public DbKeyspacesClient(String token, String databaseId) {
4444
public DbKeyspacesClient(String token, ApiLocator.AstraEnvironment env, String databaseId) {
4545
super(token, env);
4646
Assert.hasLength(databaseId, "databaseId");
47-
this.db = new DatabaseClient(token, databaseId).get();
47+
this.db = new DatabaseClient(token, env, databaseId).get();
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)