From 0e649599d05e2cb7c9753dcf92d54d0c4f2a4777 Mon Sep 17 00:00:00 2001 From: emirot Date: Fri, 26 Apr 2024 16:32:00 +0100 Subject: [PATCH] chore: remove unused function Signed-off-by: emirot --- kustomize/commands/edit/fix/convert.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/kustomize/commands/edit/fix/convert.go b/kustomize/commands/edit/fix/convert.go index 78258ce298..8585392a46 100644 --- a/kustomize/commands/edit/fix/convert.go +++ b/kustomize/commands/edit/fix/convert.go @@ -329,15 +329,6 @@ func setPlaceholderValue(varName string, files []string, fSys filesys.FileSystem return nil } -func stringInSlice(elem string, slice []string) bool { - for i := range slice { - if slice[i] == elem { - return true - } - } - return false -} - func indexOf(varName string, slice []string) int { for i := range slice { if slice[i] == varName {