Skip to content

Commit

Permalink
Update breaker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Knipping <[email protected]>
  • Loading branch information
costela and obitech committed Oct 11, 2023
1 parent 87dcb1f commit 6ddd372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type observer interface {
observe(failure bool)
}

// newObservableCall creates a new [Observable] that ensure it can only be observed a single time.
// newObservableCall creates a new [Observable] that ensures it can only be observed a single time.
func newObservableCall(f func(bool)) observer {
o := sync.Once{}
return observableCall(func(failure bool) {
Expand Down

0 comments on commit 6ddd372

Please sign in to comment.