mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
fix: cluster page references
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -160,10 +160,22 @@ function extractErr(e: any): string {
|
||||
return "Unknown error"
|
||||
}
|
||||
|
||||
function isAwsServiceScope({ credential_provider, scope_kind }: { credential_provider?: string; scope_kind?: string }) {
|
||||
function isAwsServiceScope({
|
||||
credential_provider,
|
||||
scope_kind,
|
||||
}: {
|
||||
credential_provider?: string
|
||||
scope_kind?: string
|
||||
}) {
|
||||
return credential_provider === "aws" && scope_kind === "service"
|
||||
}
|
||||
function isAwsResourceScope({ credential_provider, scope_kind }: { credential_provider?: string; scope_kind?: string }) {
|
||||
function isAwsResourceScope({
|
||||
credential_provider,
|
||||
scope_kind,
|
||||
}: {
|
||||
credential_provider?: string
|
||||
scope_kind?: string
|
||||
}) {
|
||||
return credential_provider === "aws" && scope_kind === "resource"
|
||||
}
|
||||
function isProviderScope({ scope_kind }: { scope_kind?: string }) {
|
||||
|
||||
Reference in New Issue
Block a user