From 5e24c546195e2a8080c545f53ef129c88c8e36e5 Mon Sep 17 00:00:00 2001 From: Robert Pocklington Date: Tue, 15 Feb 2022 10:29:32 +1100 Subject: [PATCH] fix: align storage metadata GPRC bind port with other variable names Currently STORAGE_METADATA_GRPC_PROVIDER_ADDR environment variable used as the way to set the GRPC bind port for the service. All other services use the format _GRPC_ADDR for GRPC, and _HTTP_ADDR for HTTP. This change brings it in line with the others, as it's confusing why this one is different. --- storage/pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/pkg/config/config.go b/storage/pkg/config/config.go index 1b065172106..4df46432207 100644 --- a/storage/pkg/config/config.go +++ b/storage/pkg/config/config.go @@ -1234,7 +1234,7 @@ func structMappings(cfg *Config) []shared.EnvBinding { Destination: &cfg.Reva.StorageMetadata.GRPCNetwork, }, { - EnvVars: []string{"STORAGE_METADATA_GRPC_PROVIDER_ADDR"}, + EnvVars: []string{"STORAGE_METADATA_GRPC_ADDR"}, Destination: &cfg.Reva.StorageMetadata.GRPCAddr, }, {