Skip to content

Commit

Permalink
Merge be87d56 into f17fc25
Browse files Browse the repository at this point in the history
  • Loading branch information
little-cui committed Dec 17, 2017
2 parents f17fc25 + be87d56 commit 7011142
Show file tree
Hide file tree
Showing 35 changed files with 1,280 additions and 208 deletions.
6 changes: 3 additions & 3 deletions etc/conf/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ registry_plugin = etcd

# registry address
# registry_plugin equals to 'embeded_etcd', example:
# manager_name = "sr-0"
# manager_addr = "http://127.0.0.1:9982"
# manager_cluster = "sr-0=http://127.0.0.1:9982"
# manager_name = "sc-0"
# manager_addr = "http://127.0.0.1:2380"
# manager_cluster = "sc-0=http://127.0.0.1:2380"
# registry_plugin equals to 'etcd'
manager_cluster = "127.0.0.1:2379"

Expand Down
3 changes: 1 addition & 2 deletions frontend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"flag"
"fmt"
"github.com/ServiceComb/service-center/frontend/schema"
"github.com/astaxie/beego"
"log"
"net/http"
"github.com/astaxie/beego"
//"strconv"
)

Expand Down Expand Up @@ -50,7 +50,6 @@ func main() {

log.Printf("Running on port %d\n", *port)


addr := fmt.Sprintf("%s:%d", frontendIp, *port)
// this call blocks -- the progam runs here forever
err = http.ListenAndServe(addr, nil)
Expand Down
Loading

0 comments on commit 7011142

Please sign in to comment.