summaryrefslogtreecommitdiff
path: root/formatENV.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 17:25:00 -0500
committerJeff Carr <[email protected]>2025-10-22 17:25:00 -0500
commit8ae45ad4992a156dc5631a937aab4ee56a8e638c (patch)
treead22953f2de39d5d7d15f512d4274eebac2c03a2 /formatENV.go
parent4bf7ba47adcc25fa11a532f3e729d0f321e19e58 (diff)
remove logv0.0.4
Diffstat (limited to 'formatENV.go')
-rw-r--r--formatENV.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/formatENV.go b/formatENV.go
index 3718b1f..1b4c519 100644
--- a/formatENV.go
+++ b/formatENV.go
@@ -4,8 +4,6 @@ import (
"errors"
"fmt"
"strings"
-
- "go.wit.com/log"
)
func formatENV() (string, error) {
@@ -20,20 +18,21 @@ func formatENV() (string, error) {
for c := range envPB.IterAll() {
key := strings.ToLower(c.Var)
if len(strings.Fields(key)) != 1 {
- log.Info("dropping invalid key = ", c.Var, "value =", c.Value)
+ // fmt.Println("dropping invalid key = ", c.Var, "value =", c.Value)
continue
}
found := findByLower(key)
if found == nil {
- log.Info("findByKey() got nil for key:", key)
+ // fmt.Println("findByKey() got nil for key:", key)
}
// todo: warn about duplicates?
uniques[key] = found
}
for key, c := range uniques {
+ _ = key
if c == nil {
- log.Info("key has nil c", key)
+ // fmt.Println("key has nil c", key)
continue
}
if c.Global != "" {