From 2100a707410ca7b44983ffe2bfb166f9c96abbf4 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 15 Jun 2024 15:35:07 +0200 Subject: [PATCH] pkg/stringid: deprecate IsShortID This function is no longer used, and has no external users. Deprecated the function and mark if for removal for the next release. Signed-off-by: Sebastiaan van Stijn --- pkg/stringid/stringid.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/stringid/stringid.go b/pkg/stringid/stringid.go index daa9faf696..bffac8035e 100644 --- a/pkg/stringid/stringid.go +++ b/pkg/stringid/stringid.go @@ -22,6 +22,8 @@ var ( // IsShortID determines if id has the correct format and length for a short ID. // It checks the IDs length and if it consists of valid characters for IDs (a-f0-9). +// +// Deprecated: this function is no longer used, and will be removed in the next release. func IsShortID(id string) bool { if len(id) != shortLen { return false