Light, fluffy, and always free - The AWS Local Emulator alternative
chore(elasticache): put restoreCacheCluster's Javadoc back on its method (#5297)
Hector Venturac09c7ae62b0d
diff --git a/src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheService.java b/src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheService.javaindex 91e9bdc71a..80a5564762 100644--- a/src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheService.java+++ b/src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheService.java@@ -749,6 +749,11 @@ public class ElastiCacheService implements ResourceProvider {}}+ /** The region in a restored resource's ARN; one recorded without an ARN counts as the default region's. */+ private String regionOf(String arn) {+ return AwsArnUtils.regionOrDefault(arn, regionResolver.getDefaultRegion());+ }+/*** Restarts the container and auth proxy behind a standalone Redis or Valkey cache cluster,* the same pair {@link #provisionCacheCluster} creates. The cache comes back empty, as it@@ -763,11 +768,6 @@ public class ElastiCacheService implements ResourceProvider {* monitor and re-reads the record, because a delete taken while the container started has* already removed it.*/- /** The region in a restored resource's ARN; one recorded without an ARN counts as the default region's. */- private String regionOf(String arn) {- return AwsArnUtils.regionOrDefault(arn, regionResolver.getDefaultRegion());- }-private void restoreCacheCluster(CacheCluster cluster) {String clusterId = cluster.getCacheClusterId();String image = config.services().elasticache().defaultImage();