remove advertise redis url
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
48d43ee2ee
commit
d6e6b7e373
6 changed files with 5 additions and 16 deletions
|
@ -72,12 +72,6 @@ func main() {
|
|||
Value: "redis://127.0.0.1:6379/0",
|
||||
EnvVar: "HEIMDALL_REDIS_URL",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "advertise-redis-url, p",
|
||||
Usage: "advertise uri for peers",
|
||||
Value: fmt.Sprintf("redis://%s:6379/0", heimdall.GetIP()),
|
||||
EnvVar: "HEIMDALL_ADVERTISE_REDIS_URL",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "peer",
|
||||
Usage: "grpc address to join a peer",
|
||||
|
|
|
@ -52,7 +52,6 @@ func runServer(cx *cli.Context) error {
|
|||
EndpointPort: cx.Int("endpoint-port"),
|
||||
InterfaceName: cx.String("interface-name"),
|
||||
RedisURL: cx.String("redis-url"),
|
||||
AdvertiseRedisURL: cx.String("advertise-redis-url"),
|
||||
}
|
||||
|
||||
errCh := make(chan error, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue