mirror of
https://github.com/goharbor/harbor
synced 2025-04-13 16:53:43 +00:00
Fixed the type in DTR adapter info (#21357)
Signed-off-by: Slava Lysunkin <lysunkin@gmail.com>
This commit is contained in:
parent
d7ab265b10
commit
462749a633
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user