From 29d6f5968d8dcc796e8e61214e8802a17f0254b1 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Mon, 16 May 2022 08:33:59 +0200 Subject: [PATCH 1/2] fix the grpc server address env --- changelog/unreleased/fix-search-grpc-addr-env.md | 6 ++++++ extensions/search/pkg/config/grpc.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-search-grpc-addr-env.md diff --git a/changelog/unreleased/fix-search-grpc-addr-env.md b/changelog/unreleased/fix-search-grpc-addr-env.md new file mode 100644 index 000000000..efbc45b80 --- /dev/null +++ b/changelog/unreleased/fix-search-grpc-addr-env.md @@ -0,0 +1,6 @@ +Bugfix: Rename the search extensions environment variable for the grpc server address + +We've fixed the gprc server address configuration environment variable by renaming it from +`ACCOUNTS_GRPC_ADDR` to `SEARCH_GRPC_ADDR` + +https://github.com/owncloud/ocis/pull/55555 diff --git a/extensions/search/pkg/config/grpc.go b/extensions/search/pkg/config/grpc.go index 148fda925..89593b529 100644 --- a/extensions/search/pkg/config/grpc.go +++ b/extensions/search/pkg/config/grpc.go @@ -2,6 +2,6 @@ package config // GRPC defines the available grpc configuration. type GRPC struct { - Addr string `ocisConfig:"addr" env:"ACCOUNTS_GRPC_ADDR" desc:"The address of the grpc service."` + Addr string `ocisConfig:"addr" env:"SEARCH_GRPC_ADDR" desc:"The address of the grpc service."` Namespace string `ocisConfig:"-" yaml:"-"` } From a933b612a6a46301c4d68b1921a85be386547656 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Mon, 16 May 2022 08:58:26 +0200 Subject: [PATCH 2/2] shorten changlog title --- changelog/unreleased/fix-search-grpc-addr-env.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog/unreleased/fix-search-grpc-addr-env.md b/changelog/unreleased/fix-search-grpc-addr-env.md index efbc45b80..72b9b84c3 100644 --- a/changelog/unreleased/fix-search-grpc-addr-env.md +++ b/changelog/unreleased/fix-search-grpc-addr-env.md @@ -1,6 +1,6 @@ -Bugfix: Rename the search extensions environment variable for the grpc server address +Bugfix: Rename search env variable for the grpc server address We've fixed the gprc server address configuration environment variable by renaming it from `ACCOUNTS_GRPC_ADDR` to `SEARCH_GRPC_ADDR` -https://github.com/owncloud/ocis/pull/55555 +https://github.com/owncloud/ocis/pull/3800