mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 20:29:54 -06:00
@@ -3,3 +3,4 @@ Enhancement: Make nats-js-kv the default registry
|
||||
The previously used default `mdns` is faulty. Deprecated it together with `consul`, `nats` and `etcd` implementations.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/8011
|
||||
https://github.com/owncloud/ocis/pull/8027
|
||||
|
||||
@@ -119,7 +119,7 @@ func getEnvs(opts ...Option) *Config {
|
||||
cfg.Type = s
|
||||
}
|
||||
|
||||
if s := strings.Split(os.Getenv(registryAddressEnv), ","); len(s) > 0 {
|
||||
if s := strings.Split(os.Getenv(registryAddressEnv), ","); len(s) > 0 && s[0] != "" {
|
||||
cfg.Addresses = s
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user