Skip to content

Commit 60d7f68

Browse files
authored
fix: a not initialized instance variable warned on Ruby 2.7 (#347)
1 parent 5b94fc5 commit 60d7f68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/redis_client/cluster/node.rb

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def initialize(
106106
@topology = klass.new(pool, @concurrent_worker, **kwargs)
107107
@config = config
108108
@mutex = Mutex.new
109+
@last_reloaded_at = nil
109110
end
110111

111112
def inspect

0 commit comments

Comments
 (0)