mirror of
https://github.com/LamGC/Oracle-Sentry.git
synced 2025-04-29 22:27:34 +00:00
fix: 修复 regions 使用了错误 id 的问题.
修复 regions 方法使用了 userId 而不是 tenantId 的问题.
This commit is contained in:
parent
ab69189d5b
commit
9d5c91d5b4
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user