lib/flapjack/cli/receiver.rb in flapjack-1.2.1 vs lib/flapjack/cli/receiver.rb in flapjack-1.2.2
- old
+ new
@@ -142,9 +142,10 @@
def redis
return @redis unless @redis.nil?
@redis = Redis.new(@redis_options.merge(:driver => :hiredis))
Flapjack::Data::Migration.migrate_entity_check_data_if_required(:redis => @redis)
+ Flapjack::Data::Migration.clear_orphaned_entity_ids(:redis => @redis)
@redis
end
def runner(type)
return @runner if @runner