Skip to content

Commit

Permalink
reference: fix broken alias for DomainRegexp
Browse files Browse the repository at this point in the history
An incorrect alias snuck into 152af63,
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 commit c8c2bc2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Oct 19, 2023
1 parent d607c6c commit 7c40b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/regexp_deprecated.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c40b3c

Please sign in to comment.