From ab960dcf97705d5370385b7bb817e1bda8315920 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Thu, 7 Jul 2022 15:19:18 +0200 Subject: [PATCH] fix `OCIS_RUN_SERVICES` --- changelog/unreleased/fix-ocis-run-services.md | 12 ++++++++++++ ocis-pkg/config/config.go | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-ocis-run-services.md diff --git a/changelog/unreleased/fix-ocis-run-services.md b/changelog/unreleased/fix-ocis-run-services.md new file mode 100644 index 00000000000..6b6f07d7e4d --- /dev/null +++ b/changelog/unreleased/fix-ocis-run-services.md @@ -0,0 +1,12 @@ +Bugfix: Fix `OCIS_RUN_SERVICES` + +`OCIS_RUN_SERVICES` was introduced as successor to `OCIS_RUN_EXTENSIONS` because +we wanted to call oCIS "core" extensions services. We kept `OCIS_RUN_EXTENSIONS` for +backwards compatibility reasons. + +It turned out, that setting `OCIS_RUN_SERVICES` has no effect since introduced. `OCIS_RUN_EXTENSIONS`. +`OCIS_RUN_EXTENSIONS` was working fine all the time. + +We now fixed `OCIS_RUN_SERVICES`, so that you can use it as a equivalent replacement for `OCIS_RUN_EXTENSIONS` + +https://github.com/owncloud/ocis/pull/4133 diff --git a/ocis-pkg/config/config.go b/ocis-pkg/config/config.go index 8e9319a44de..2aa26107cf2 100644 --- a/ocis-pkg/config/config.go +++ b/ocis-pkg/config/config.go @@ -49,7 +49,7 @@ type Mode int type Runtime struct { Port string `yaml:"port" env:"OCIS_RUNTIME_PORT"` Host string `yaml:"host" env:"OCIS_RUNTIME_HOST"` - Extensions string `yaml:"services" env:"OCIS_RUN_EXTENSIONS,OCIS_RUN_SERVICES"` + Extensions string `yaml:"services" env:"OCIS_RUN_EXTENSIONS;OCIS_RUN_SERVICES"` } // Config combines all available configuration parts.