diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-11 09:13:28 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-11 09:13:28 +0000 |
commit | 068defa7505126fc80b5a1f23a5634148e09eb67 (patch) | |
tree | f10c2403c260a02c7815da171c3849724f1677e7 /lib/api/runners.rb | |
parent | e68a547bc790d44a1df3c9ae8b07b004ab8dd47e (diff) | |
download | gitlab-ce-068defa7505126fc80b5a1f23a5634148e09eb67.tar.gz |
Add missing maximum_timeout parameter
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 2071c5a62c1..51242341dba 100644 --- a/lib/api/runners.rb +++ b/lib/api/runners.rb @@ -58,7 +58,7 @@ module API optional :access_level, type: String, values: Ci::Runner.access_levels.keys, desc: 'The access_level of the runner' optional :maximum_timeout, type: Integer, desc: 'Maximum timeout set when this Runner will handle the job' - at_least_one_of :description, :active, :tag_list, :run_untagged, :locked, :access_level + at_least_one_of :description, :active, :tag_list, :run_untagged, :locked, :access_level, :maximum_timeout end put ':id' do runner = get_runner(params.delete(:id)) |