summaryrefslogtreecommitdiff
path: root/system/db
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-18 17:57:07 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-18 17:57:07 -0800
commite45ac283ee4c6fceca0724dc0a8c118621643279 (patch)
treed53642fe3b3d1910ab5388e5cfdc1d22169b8248 /system/db
parent5495e347ba5563397734168fffc04791a20064d2 (diff)
debugging host port issue in config
Diffstat (limited to 'system/db')
-rw-r--r--system/db/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/db/config.go b/system/db/config.go
index ef3c382..17da078 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -3,6 +3,7 @@ package db
import (
"bytes"
"encoding/json"
+ "fmt"
"net/url"
"strings"
@@ -119,6 +120,7 @@ func ConfigAll() ([]byte, error) {
// PutConfig updates a single k/v in the config
func PutConfig(key string, value interface{}) error {
+ fmt.Println(key, value)
kv := make(map[string]interface{})
c, err := ConfigAll()