Skip to content

Commit

Permalink
Export is_mirror = 0.0 for non mirror instead of nothing (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
phbnf authored Aug 24, 2023
1 parent 08bc0a4 commit 0a3763c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trillian/ctfe/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ func newLogInfo(

if cfg.IsMirror {
isMirrorLog.Set(1.0, label)
} else {
isMirrorLog.Set(0.0, label)
}
maxMergeDelay.Set(float64(cfg.MaxMergeDelaySec), label)
expMergeDelay.Set(float64(cfg.ExpectedMergeDelaySec), label)
Expand Down

0 comments on commit 0a3763c

Please sign in to comment.