From 37d549e5b86a1c5dce6710fbfd2310aec9abe949 Mon Sep 17 00:00:00 2001 From: bloomadcariad Date: Sun, 22 Sep 2024 23:00:51 -0700 Subject: [PATCH] fix(misconf): Fixed scope for China Cloud (#7560) --- pkg/fanal/image/registry/azure/azure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/fanal/image/registry/azure/azure.go b/pkg/fanal/image/registry/azure/azure.go index 67368c8bb3c8..d19392924a10 100644 --- a/pkg/fanal/image/registry/azure/azure.go +++ b/pkg/fanal/image/registry/azure/azure.go @@ -45,7 +45,7 @@ func (r *Registry) CheckOptions(domain string, _ types.RegistryOptions) (intf.Re } else if strings.HasSuffix(domain, chinaAzureURL) { return &RegistryClient{ domain: domain, - scope: scope, + scope: chinaScope, cloud: cloud.AzureChina, }, nil }