Merge pull request #3169 from rpocklin/rpocklin-storage-metadata-grpc-env-var-fix

fix: align storage metadata GPRC bind port with other variable names
This commit is contained in:
Willy Kloucek
2022-02-21 09:56:41 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
Bugfix: Align storage metadata GPRC bind port with other variable names
Changed STORAGE_METADATA_GRPC_PROVIDER_ADDR to STORAGE_METADATA_GRPC_ADDR so it aligns with standard environment variable naming conventions used in oCIS.
https://github.com/owncloud/ocis/pull/3169

View File

@@ -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,
},
{