lib/flipper/adapters/redis.rb in flipper-redis-0.25.2 vs lib/flipper/adapters/redis.rb in flipper-redis-0.25.3
- old
+ new
@@ -116,10 +116,10 @@
end
private
def redis_sadd_returns_boolean?
- ::Redis.respond_to?(:sadd_returns_boolean) && ::Redis.sadd_returns_boolean
+ @client.class.respond_to?(:sadd_returns_boolean) && @client.class.sadd_returns_boolean
end
def read_many_features(features)
docs = docs_for(features)
result = {}