mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
chore(elasticache): put restoreCacheCluster's Javadoc back on its method (#5297)
The regionOf helper was inserted between restoreCacheCluster's Javadoc and the method, so the block describing how a cache cluster is restored documented regionOf instead, and restoreCacheCluster had none. The helper now sits above that Javadoc. No behaviour changes.
This commit is contained in:
1 parent
ea77da8a2a
commit
c09c7ae62b
1 file changed
+5
-5
+5
-5
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user