From 0a98a00d175aa912275d603eadcf821168cf2208 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 9 May 2023 13:23:43 +0200 Subject: [PATCH] Ignore SA1019: SplitHostname is deprecated. Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 84a85a40484b10a2540c0b68bc8fedda77ac5e2a) Signed-off-by: Sebastiaan van Stijn --- reference/normalize_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/normalize_test.go b/reference/normalize_test.go index a636236ee..110c8e8b5 100644 --- a/reference/normalize_test.go +++ b/reference/normalize_test.go @@ -532,7 +532,7 @@ func TestNormalizedSplitHostname(t *testing.T) { t.Fail() } - named, err := ParseNormalizedNamed(testcase.input) + named, err := ParseNormalizedNamed(testcase.input) //nolint:staticcheck // Ignore SA1019: SplitHostname is deprecated. if err != nil { failf("error parsing name: %s", err) }