Commit d6536aab authored by Stan Hu's avatar Stan Hu

Add Rubocop rule to whitelist public_send

parent 9f560516
......@@ -99,11 +99,11 @@ module Geo
end
def last_successful_sync_at
registry.public_send("last_#{type}_successful_sync_at")
registry.public_send("last_#{type}_successful_sync_at") # rubocop:disable GitlabSecurity/PublicSend
end
def last_synced_at
registry.public_send("last_#{type}_synced_at")
registry.public_send("last_#{type}_synced_at") # rubocop:disable GitlabSecurity/PublicSend
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment