Skip to content

Commit 37d549e

Browse files
fix(misconf): Fixed scope for China Cloud (#7560)
1 parent 1f9fc13 commit 37d549e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fanal/image/registry/azure/azure.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (r *Registry) CheckOptions(domain string, _ types.RegistryOptions) (intf.Re
4545
} else if strings.HasSuffix(domain, chinaAzureURL) {
4646
return &RegistryClient{
4747
domain: domain,
48-
scope: scope,
48+
scope: chinaScope,
4949
cloud: cloud.AzureChina,
5050
}, nil
5151
}

0 commit comments

Comments
 (0)