Fixed the type in DTR adapter info (#21357)

Signed-off-by: Slava Lysunkin <lysunkin@gmail.com>
This commit is contained in:
Slava Lysunkin 2024-12-26 00:08:05 -06:00 committed by GitHub
parent d7ab265b10
commit 462749a633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,7 @@ func newAdapter(registry *model.Registry) *adapter {
// Info returns information of the registry
func (a *adapter) Info() (*model.RegistryInfo, error) {
return &model.RegistryInfo{
Type: model.RegistryTypeAzureAcr,
Type: model.RegistryTypeDTR,
SupportedResourceTypes: []string{
model.ResourceTypeImage,
},