Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
firelizzard18 committed May 1, 2024
1 parent d19e37d commit 779ab8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/accumulated/run/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ func (c *ConsensusService) start(inst *Instance) error {
return err
}

if d.config.Instrumentation.Prometheus {
d.config.Instrumentation.Namespace = c.MetricsNamespace
}

case errors.Is(err, fs.ErrNotExist):
d.config.NodeKey = ""
d.config.PrivValidatorKey = ""
Expand Down

0 comments on commit 779ab8f

Please sign in to comment.