diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-11-20 17:26:38 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-11-20 17:26:38 +0300 |
commit | 747a5c425a0ce1aa5e9005a03804f2ea513aa73b (patch) | |
tree | 762bb4f2fce7c92817daafad61635d02002cc3d2 /lib/api/runner.rb | |
parent | 56e5a2a3abe6be7307a87125abe70f2775dcaee2 (diff) |
Remove Rubocop override that is no longer necessary
Diffstat (limited to 'lib/api/runner.rb')
-rw-r--r-- | lib/api/runner.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb index af205dc8a61..c60d25b88cb 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -19,7 +19,6 @@ module API optional :tag_list, type: Array[String], desc: %q(List of Runner's tags) optional :maximum_timeout, type: Integer, desc: 'Maximum timeout set when this Runner will handle the job' end - # rubocop: disable CodeReuse/ActiveRecord post '/' do attributes = attributes_for_keys([:description, :active, :locked, :run_untagged, :tag_list, :maximum_timeout]) .merge(get_runner_details_from_request) @@ -46,7 +45,6 @@ module API render_validation_error!(runner) end end - # rubocop: enable CodeReuse/ActiveRecord desc 'Deletes a registered Runner' do http_codes [[204, 'Runner was deleted'], [403, 'Forbidden']] |