Skip to content

Commit

Permalink
Change datacenter flag default to Consul's default
Browse files Browse the repository at this point in the history
  • Loading branch information
josephgorse committed Sep 23, 2016
1 parent 59c4edd commit 6b74738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion registry/cmd/registry/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var backendAddr, datacenter string

func init() {
flag.StringVar(&backendAddr, "address", "127.0.0.1:8500", "Address:port of the backend store")
flag.StringVar(&datacenter, "datacenter", "dc-docker", "Datacenter name of the backend storage")
flag.StringVar(&datacenter, "datacenter", "dc1", "Datacenter name of the backend storage")
}

func main() {
Expand Down
2 changes: 1 addition & 1 deletion registry/docker-compose-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
- "8500/udp"
- "8600"
- "8600/udp"
command: "-address=consulclient:8500"
command: "-address=consulclient:8500 -datacenter=dc-docker"
depends_on:
- consulclient
ssdpspoofer:
Expand Down

0 comments on commit 6b74738

Please sign in to comment.