Skip to content

Commit

Permalink
Remove unreacheable code from migration tool
Browse files Browse the repository at this point in the history
  • Loading branch information
henrich-m committed Aug 3, 2020
1 parent d33f870 commit 6d3f2fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/feature_flagger/storage/feature_keys_migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ def migrate_release_to_all(key)

features.each do |feature_key|
@to_control.release_to_all(feature_key)
rescue KeyNotFoundError => _e
next
end
end

Expand All @@ -51,8 +49,6 @@ def migrate_release(key)
resource_ids = @from_redis.smembers(key)

@to_control.release(key, resource_ids)
rescue KeyNotFoundError => _e
return
end
end
end
Expand Down

0 comments on commit 6d3f2fd

Please sign in to comment.