chore: rename noOpBreaker to nopBreaker (#3602)

This commit is contained in:
Kevin Wan
2023-10-06 23:41:09 +08:00
committed by GitHub
parent c063976822
commit 11a8cbc1e5
3 changed files with 14 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ func GetBreaker(name string) Breaker {
// NoBreakerFor disables the circuit breaker for the given name.
func NoBreakerFor(name string) {
lock.Lock()
breakers[name] = newNoOpBreaker()
breakers[name] = newNopBreaker()
lock.Unlock()
}