Skip to content

Commit 7a9ae79

Browse files
committed
del label val
1 parent fad076c commit 7a9ae79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cycle.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ var (
1818

1919
func (p *Prefix) update(site *ConfigSite) {
2020
if p.announcing {
21-
routesGauge.WithLabelValues(
21+
routesGauge.DeleteLabelValues(
2222
p.prefix,
2323
p.lastAdvSite.Name,
2424
strconv.Itoa(p.lastAdvSite.Id+2000),
25-
).Set(0)
25+
)
2626
p.bgpWithdraw()
2727
return
2828
}

0 commit comments

Comments
 (0)