mirror of
https://github.com/distribution/distribution.git
synced 2025-08-30 22:02:16 +00:00
reference: fix broken alias for DomainRegexp
An incorrect alias snuck into152af63ec5
, and DomainRegexp was aliased to the regex for digests (DigestRegexp). This didn't affect this repository, as it didn't use the aliases and migrated to the new module, but does affect user of the old module that depend on the aliases. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commitc8c2bc279c
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d607c6ccb9
commit
7c40b3c627
@ -20,7 +20,7 @@ var DigestRegexp = reference.DigestRegexp
|
||||
// Deprecated: use [reference.DomainRegexp].
|
||||
//
|
||||
// [RFC 6874]: https://www.rfc-editor.org/rfc/rfc6874.
|
||||
var DomainRegexp = reference.DigestRegexp
|
||||
var DomainRegexp = reference.DomainRegexp
|
||||
|
||||
// IdentifierRegexp is the format for string identifier used as a
|
||||
// content addressable identifier using sha256. These identifiers
|
||||
|
Loading…
Reference in New Issue
Block a user