summaryrefslogtreecommitdiff
path: root/formatENV.go
diff options
context:
space:
mode:
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 != "" {