mirror of
https://github.com/goharbor/harbor
synced 2025-04-16 14:37:15 +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
|
// Info returns information of the registry
|
||||||
func (a *adapter) Info() (*model.RegistryInfo, error) {
|
func (a *adapter) Info() (*model.RegistryInfo, error) {
|
||||||
return &model.RegistryInfo{
|
return &model.RegistryInfo{
|
||||||
Type: model.RegistryTypeAzureAcr,
|
Type: model.RegistryTypeDTR,
|
||||||
SupportedResourceTypes: []string{
|
SupportedResourceTypes: []string{
|
||||||
model.ResourceTypeImage,
|
model.ResourceTypeImage,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user