File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/software/aws/toolkits/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ abstract class ToolkitClientManager {
61
61
)
62
62
63
63
val serviceId = key.serviceClass.java.getField(" SERVICE_NAME" ).get(null ) as String
64
- if (serviceId !in GLOBAL_SERVICE_BLACKLIST && getRegionProvider().isServiceGlobal(region, serviceId)) {
64
+ if (serviceId !in GLOBAL_SERVICE_DENY_LIST && getRegionProvider().isServiceGlobal(region, serviceId)) {
65
65
val globalRegion = getRegionProvider().getGlobalRegionForService(region, serviceId)
66
66
return cachedClients.computeIfAbsent(key.copy(region = globalRegion)) { createNewClient(it, globalRegion, credProvider) } as T
67
67
}
@@ -115,7 +115,7 @@ abstract class ToolkitClientManager {
115
115
}
116
116
117
117
companion object {
118
- private val GLOBAL_SERVICE_BLACKLIST = setOf (
118
+ private val GLOBAL_SERVICE_DENY_LIST = setOf (
119
119
// sts is regionalized but does not identify as such in metadata
120
120
" sts"
121
121
)
You can’t perform that action at this time.
0 commit comments