Skip to content

Commit 96b77da

Browse files
author
evelynwei
committed
chore: mod log
1 parent 3401fa8 commit 96b77da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/circuitbreaker/composite/trigger/consecutive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ func (c *ConsecutiveCounter) Report(success bool) {
5252
if currentSum == int32(c.maxCount) {
5353
c.suspend()
5454
atomic.StoreInt32(&c.consecutiveErrors, 0)
55-
c.handler.CloseToOpen(c.ruleName)
5655
c.log.Infof("[CircuitBreaker][ConsecutiveCounter] triggered CloseToOpen, ruleName: %s, currentSum(%d), "+
5756
"maxCount(%d), resource(%s)", c.ruleName, currentSum, c.maxCount, c.res.String())
57+
c.handler.CloseToOpen(c.ruleName)
5858
}
5959
} else {
6060
atomic.StoreInt32(&c.consecutiveErrors, 0)

0 commit comments

Comments
 (0)