Skip to content

Commit 12ac0ab

Browse files
Fix event name typo in README
Fix the event name from circuit_open to circuit_opened
1 parent 17e009d commit 12ac0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Faulty.init do |config|
146146
config.storage = Faulty::Storage::Redis.new
147147

148148
config.listeners << Faulty::Events::CallbackListener.new do |events|
149-
events.circuit_open do |payload|
149+
events.circuit_opened do |payload|
150150
puts 'Circuit was opened'
151151
end
152152
end

0 commit comments

Comments
 (0)