diff options
| author | Rémy Coutable <remy@rymai.me> | 2017-08-16 11:25:26 +0000 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2017-08-16 11:25:26 +0000 |
| commit | fcce6c3168dbd04404f318b4e983d7395d21538c (patch) | |
| tree | d8155d729f0915f6117bbe1f4010fffec9d37e56 /lib/api/runners.rb | |
| parent | 9ac2a517798af2f942b28138403690afc20a254c (diff) | |
| parent | 260c8da060a6039cbd47cfe31c8ec6d6f9b43de0 (diff) | |
| download | gitlab-ce-fcce6c3168dbd04404f318b4e983d7395d21538c.tar.gz | |
Merge branch 'rs-more-public-send-whitelists' into 'master'
Whitelist or fix additional `Gitlab/PublicSend` cop violations
See merge request !13467
Diffstat (limited to 'lib/api/runners.rb')
| -rw-r--r-- | lib/api/runners.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb index 5bf5a18e42f..31f940fe96b 100644 --- a/lib/api/runners.rb +++ b/lib/api/runners.rb @@ -153,7 +153,7 @@ module API render_api_error!('Scope contains invalid value', 400) end - runners.send(scope) + runners.public_send(scope) # rubocop:disable GitlabSecurity/PublicSend end def get_runner(id) |
