mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -77,7 +77,7 @@ namespace OpenSim.Region.OptionalModules.Framework.Monitoring
|
||||
IConfig etcdConfig = source.Configs["Etcd"];
|
||||
|
||||
string etcdUrls = etcdConfig.GetString("EtcdUrls", String.Empty);
|
||||
if (etcdUrls == String.Empty)
|
||||
if (etcdUrls.Length == 0)
|
||||
return;
|
||||
|
||||
m_etcdBasePath = etcdConfig.GetString("BasePath", m_etcdBasePath);
|
||||
|
||||
Reference in New Issue
Block a user