From 2ba40c0e65ace3a92310d0784064a87970cb54e9 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Fri, 27 Nov 2020 16:39:39 -0800 Subject: [PATCH] Fixup to slice manipulation functions --- internal/pkg/util/util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/pkg/util/util.go b/internal/pkg/util/util.go index 236109f1..a25896c7 100644 --- a/internal/pkg/util/util.go +++ b/internal/pkg/util/util.go @@ -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) } }