go build
parent
f98e417ba6
commit
87e63c27df
|
|
@ -208,7 +208,7 @@ func (v01 *V01) serveGMStatus(w io.Writer) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ms := time.Duration(v.Meta.LastLag) * time.Millisecond; v.Meta.LastLag > 0 && ms < time.Minute {
|
if ms := time.Duration(v.Meta.LastLag) * time.Millisecond; v.Meta.LastLag > 0 && ms < time.Minute {
|
||||||
result += fmt.Sprintf("%s ", lag)
|
result += fmt.Sprintf("%s ", ms.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
if result == "" {
|
if result == "" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue