Let monitor data be requested using either the short form of the name or the
full, namespace qualified version.mysql-performance
parent
c9276f2051
commit
74b3ce8572
|
@ -87,7 +87,10 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
|
||||||
|
|
||||||
foreach (IMonitor monitor in m_monitors)
|
foreach (IMonitor monitor in m_monitors)
|
||||||
{
|
{
|
||||||
if (monitor.ToString() == monID)
|
string elemName = monitor.ToString();
|
||||||
|
if (elemName.StartsWith(monitor.GetType().Namespace))
|
||||||
|
elemName = elemName.Substring(monitor.GetType().Namespace.Length + 1);
|
||||||
|
if (elemName == monID || monitor.ToString() == monID)
|
||||||
{
|
{
|
||||||
Hashtable ereply3 = new Hashtable();
|
Hashtable ereply3 = new Hashtable();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue