fix OCIS_RUN_SERVICES

This commit is contained in:
Willy Kloucek
2022-07-07 15:19:18 +02:00
parent fb1c13978d
commit ab960dcf97
2 changed files with 13 additions and 1 deletions

View File

@@ -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

View File

@@ -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.