From 9cb4a6f0c846a66a3a3251cf7f356d0434b46536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 7 Feb 2024 10:31:56 +0000 Subject: [PATCH] amend panic message after decodeHash got renamed --- hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.go b/hash.go index 6d78d0fc..e7def1f1 100644 --- a/hash.go +++ b/hash.go @@ -41,7 +41,7 @@ func decodeBuildIDHash(str string) []byte { panic(fmt.Sprintf("invalid hash %q: %v", str, err)) } if len(h) != buildIDHashLength { - panic(fmt.Sprintf("decodeHash expects to result in a hash of length %d, got %d", buildIDHashLength, len(h))) + panic(fmt.Sprintf("decodeBuildIDHash expects to result in a hash of length %d, got %d", buildIDHashLength, len(h))) } return h }