mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
chore: remove unused function
Signed-off-by: emirot <emirot.nolan@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user