Skip to content

Commit

Permalink
Merge pull request #172 from nicoloboschi/remove-debug
Browse files Browse the repository at this point in the history
fix: remove debug log
  • Loading branch information
clun authored May 10, 2024
2 parents 0b288dc + 6f84943 commit 0da617f
Showing 1 changed file with 0 additions and 2 deletions.
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

0 comments on commit 0da617f

Please sign in to comment.