From c8f377245fb654e06d005a137853a037946552cb Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Mon, 21 Oct 2024 15:26:07 +0800 Subject: [PATCH] fix(healthcheck/utils): unused function --- pkg/healthcheck/utils.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/healthcheck/utils.go b/pkg/healthcheck/utils.go index 005379a..8939f22 100644 --- a/pkg/healthcheck/utils.go +++ b/pkg/healthcheck/utils.go @@ -5,15 +5,6 @@ import ( "regexp" ) -func inString(str1 string, strList []string) bool { - for _, str := range strList { - if str1 == str { - return true - } - } - return false -} - // addExt appends the specified extension to each file name in the given fileList. // It modifies the original fileList in place. func addExt(fileList []string, ext string) {