Allows for metrics collection when some codex groups don't have metrics enabled.
This commit is contained in:
parent
9a45883278
commit
07fbda3f9a
|
@ -115,8 +115,11 @@ namespace DistTestCore
|
|||
|
||||
OnEachCodexNode(node =>
|
||||
{
|
||||
var m = (MetricsAccess)node.Metrics;
|
||||
metricsDownloader.DownloadAllMetricsForNode(node.GetName(), m);
|
||||
var m = node.Metrics as MetricsAccess;
|
||||
if (m != null)
|
||||
{
|
||||
metricsDownloader.DownloadAllMetricsForNode(node.GetName(), m);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue