Commit 386ee2b5 authored by Alexander Tanayno's avatar Alexander Tanayno Committed by Vitali Tatarintev

Replace public_send with send in doctor rake task

Changelog: fixed
parent d2167efa
......@@ -72,7 +72,7 @@ module Gitlab
end
def valid_attribute?(data, attr)
data.public_send(attr) # rubocop:disable GitlabSecurity/PublicSend
data.send(attr) # rubocop:disable GitlabSecurity/PublicSend
true
rescue OpenSSL::Cipher::CipherError, TypeError
......
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