summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-19 09:28:30 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-19 09:28:30 -0800
commit174df00b3ac1cdced7a96b0515ba44548d6969ca (patch)
treea71d4a3460225880e12cf6fcb65f78e41975b9ce
parent6a49024e0ba2f03578164bf64a7d15ac056e591b (diff)
contin. debugging host port issue in config
-rw-r--r--system/db/config.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/system/db/config.go b/system/db/config.go
index 5122e41..bec7f0c 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -137,15 +137,6 @@ func PutConfig(key string, value interface{}) error {
data := make(url.Values)
for k, v := range kv {
switch v.(type) {
- case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64:
- data.Set(k, fmt.Sprintf("%d", v))
-
- case float32, float64:
- data.Set(k, fmt.Sprintf("%f", v))
-
- case bool:
- data.Set(k, fmt.Sprintf("%t", v))
-
case string:
data.Set(k, v.(string))