Skip to content

Commit

Permalink
fix: align storage metadata GPRC bind port with other variable names
Browse files Browse the repository at this point in the history
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 <SERVICE_NAME>_GRPC_ADDR for GRPC, and <SERVICE_NAME>_HTTP_ADDR for HTTP.  This change brings it in line with the others, as it's confusing why this one is different.
  • Loading branch information
rpocklin authored Feb 14, 2022
1 parent 8821c93 commit 5e24c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down

0 comments on commit 5e24c54

Please sign in to comment.