mirror of
https://github.com/LamGC/Oracle-Sentry.git
synced 2025-07-01 12:57:27 +00:00
fix: 修复 regions 使用了错误 id 的问题.
修复 regions 方法使用了 userId 而不是 tenantId 的问题.
This commit is contained in:
@ -67,7 +67,7 @@ public final class OracleAccount {
|
|||||||
*/
|
*/
|
||||||
public List<RegionSubscription> regions() {
|
public List<RegionSubscription> regions() {
|
||||||
return this.clients.identity().listRegionSubscriptions(ListRegionSubscriptionsRequest.builder()
|
return this.clients.identity().listRegionSubscriptions(ListRegionSubscriptionsRequest.builder()
|
||||||
.tenancyId(this.id())
|
.tenancyId(this.tenantId())
|
||||||
.build()).getItems();
|
.build()).getItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user