@@ -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.
|
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/8011
|
||||||
|
https://github.com/owncloud/ocis/pull/8027
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ func getEnvs(opts ...Option) *Config {
|
|||||||
cfg.Type = s
|
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
|
cfg.Addresses = s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user