summaryrefslogtreecommitdiff
path: root/cmd/ponzu/main.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-19 09:17:53 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-19 09:17:53 -0800
commit6a49024e0ba2f03578164bf64a7d15ac056e591b (patch)
tree6fae36db56e0764f6662bcdc1fb28ca42edd9822 /cmd/ponzu/main.go
parentaf0ed656e813eb2ada2f596c9c957f3e679b3cba (diff)
contin. debugging host port issue in config
Diffstat (limited to 'cmd/ponzu/main.go')
-rw-r--r--cmd/ponzu/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go
index b2b5e75..b77b7c9 100644
--- a/cmd/ponzu/main.go
+++ b/cmd/ponzu/main.go
@@ -296,6 +296,7 @@ func main() {
// save the port the system is listening on so internal system can make
// HTTP api calls while in dev or production w/o adding more cli flags
+ fmt.Println(port, "port from main")
err := db.PutConfig("http_port", fmt.Sprintf("%d", port))
if err != nil {
log.Fatalln("System failed to save config. Please try to run again.")