Merge pull request #5681 from emirot/remove-string-in-slice

chore: remove unused function
This commit is contained in:
Kubernetes Prow Robot
2024-04-28 23:59:56 -07:00
committed by GitHub

View File

@@ -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 {