reference: fix broken alias for DomainRegexp
An incorrect alias snuck into 152af63ec5
,
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>
This commit is contained in:
parent
d24243730f
commit
c8c2bc279c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue