From c8c2bc279cee5d3f81e589d59ca02e683e650835 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 19 Oct 2023 10:06:38 +0200 Subject: [PATCH] reference: fix broken alias for DomainRegexp An incorrect alias snuck into 152af63ec5c569f074e9cf5d0e409d6928e034d8, 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 --- reference/regexp_deprecated.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/regexp_deprecated.go b/reference/regexp_deprecated.go index 4b9c1b58..8f7e7aef 100644 --- a/reference/regexp_deprecated.go +++ b/reference/regexp_deprecated.go @@ -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