summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-18 18:06:17 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-18 18:06:17 -0800
commitd467e6ef5b00fbbb2c3d0d8071a3c9c1b03cbd2a (patch)
tree0e8ce6e83ddf10303c892c7eb6001194e2ad178f
parent57d8fb1402f5b947ec7436d5b18b3d55dbe5bf17 (diff)
contin. debugging host port issue in config
-rw-r--r--system/db/config.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/db/config.go b/system/db/config.go
index 24521b4..dcb7780 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -4,6 +4,7 @@ import (
"bytes"
"encoding/json"
"fmt"
+ "log"
"net/url"
"strings"
@@ -147,6 +148,8 @@ func PutConfig(key string, value interface{}) error {
data.Add(k, vv[i])
}
}
+ default:
+ log.Println("No assertion made for data value in PutConfig:", value)
}
}
@@ -155,8 +158,6 @@ func PutConfig(key string, value interface{}) error {
return err
}
- fmt.Println(data)
-
return nil
}