File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed 
plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/s3/resources Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import kotlinx.coroutines.async
77import  kotlinx.coroutines.awaitAll 
88import  kotlinx.coroutines.runBlocking 
99import  kotlinx.coroutines.withContext 
10- import  org.jetbrains.annotations.TestOnly 
1110import  org.slf4j.event.Level 
1211import  software.amazon.awssdk.services.s3.S3Client 
1312import  software.amazon.awssdk.services.s3.model.Bucket 
@@ -28,7 +27,6 @@ object S3Resources {
2827    private  val  LOG  =  getLogger<S3Resources >()
2928    private  val  regions by lazy { AwsRegionProvider .getInstance().allRegions() }
3029
31-     @TestOnly
3230    val  LIST_REGIONALIZED_BUCKETS  =  ClientBackedCachedResource (S3Client ::class , " s3.list_buckets" 
3331        val  buckets =  listBuckets().buckets()
3432        //  TODO when the resource cache is coroutine based, remove the runBlocking and withContext
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments