Skip to content

Commit 837f20e

Browse files
committed
Fix an uninitialized variable warning in RotationCoordinator
1 parent 890015a commit 837f20e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activesupport/lib/active_support/messages/rotation_coordinator.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def initialize(&secret_generator)
99
raise ArgumentError, "A secret generator block is required" unless secret_generator
1010
@secret_generator = secret_generator
1111
@rotate_options = []
12+
@on_rotation = nil
1213
@codecs = {}
1314
end
1415

0 commit comments

Comments
 (0)