Fixup to slice manipulation functions

This commit is contained in:
Gregory Kurtzer
2020-11-27 16:39:39 -08:00
parent f74826bc87
commit 2ba40c0e65

View File

@@ -200,6 +200,8 @@ func SliceRemoveElement(array []string, remove string) []string {
for _, r := range array {
if r != remove {
ret = append(ret, r)
} else {
wwlog.Printf(wwlog.DEBUG, "Removing slice from array: %s\n", remove)
}
}