revert changes to BIND envvar

This commit is contained in:
jkoberg
2021-10-07 14:29:58 +02:00
parent 31f1301c9e
commit c797f1c192
2 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ func DriverEOSWithConfig(cfg *config.Config) []cli.Flag {
Destination: &cfg.Reva.Storages.EOS.UserLayout,
},
&cli.StringFlag{
Name: "reva-gateway-addr",
Name: "storage-eos-reva-gateway-addr",
Value: flags.OverrideDefaultString(cfg.Reva.Storages.EOS.GatewaySVC, "127.0.0.1:9142"),
Usage: "Address of REVA gateway endpoint",
EnvVars: []string{"REVA_GATEWAY_ADDR"},

View File

@@ -47,10 +47,10 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
Destination: &cfg.Reva.Gateway.GRPCNetwork,
},
&cli.StringFlag{
Name: "reva-gateway-bind-addr",
Name: "addr",
Value: flags.OverrideDefaultString(cfg.Reva.Gateway.GRPCAddr, "0.0.0.0:9142"),
Usage: "Address to bind REVA service",
EnvVars: []string{"REVA_GATEWAY_BIND_ADDR"},
EnvVars: []string{"STORAGE_GATEWAY_GRPC_ADDR"},
Destination: &cfg.Reva.Gateway.GRPCAddr,
},
&cli.StringFlag{