move Metrics to utils (#1765)

This commit is contained in:
Andronik Ordian authored and GitHub committed 2020-09-29 11:42:20 +00:00
1 parent 5d4eb6bdce
commit de05bec4d6
29 files changed
+99 -120

No files matched your search

@@ -65,8 +65,6 @@ pub struct StatementDistribution;
impl<C> Subsystem<C> for StatementDistribution
where C: SubsystemContext<Message=StatementDistributionMessage>
{
type Metrics = ();
fn start(self, ctx: C) -> SpawnedSubsystem {
// Swallow error because failure is fatal to the node and we log with more precision
// within `run`.