Disable short name mode
Disable the short name mode so we don't use the alias table
when pulling images. We will revisit this is in the next release.
@@ -761,10 +761,9 @@ func (svc *imageService) ResolveNames(systemContext *types.SystemContext, imageN
return nil, err
}
- // Set shortNameMode to permissive so we fall back to look through the search registries list
- // if the short name alias is not found in the alias table
- permissive := types.ShortNameModePermissive
- systemContext.ShortNameMode = &permissive
+ // Disable short name alias mode. Will enable it once we settle on a shortname alias table.
+ disabled := types.ShortNameModeDisabled
+ systemContext.ShortNameMode = &disabled
resolved, err := shortnames.Resolve(systemContext, imageName)
if err != nil {
return nil, err
