Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove debug log #172

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/main/java/com/dtsx/astra/cli/db/ServiceDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ public void validateCloudAndRegion(String cloud, String region, boolean flagVect
SortedMap<String, TreeMap<String, String>> mapCloudRegions =
ServiceOrganization.getInstance()
.getDbServerlessRegions(flagVector ? RegionType.VECTOR : RegionType.ALL);
System.out.println("REGION OK");
if (!mapCloudRegions.containsKey(cloud.toLowerCase())) {
throw new InvalidCloudProviderException(cloud);
} else if (!mapCloudRegions
Expand Down Expand Up @@ -449,7 +448,6 @@ private Map<String, DatabaseRegionServerless> getRegionMapServerless(boolean fla
private CloudProviderType getCloudProvider(String tier, String databaseRegion, boolean flagVector) {
// SERVERLESS
if (DatabaseCreationBuilder.DEFAULT_TIER.equals(tier)) {
System.out.println("get CLoud provider");
Map<String, DatabaseRegionServerless> regionMap = getRegionMapServerless(flagVector);
if (!regionMap.containsKey(databaseRegion)) {
throw new InvalidArgumentException("Region '" + databaseRegion + "' has not been found for serverless");
Expand Down
Loading