summaryrefslogtreecommitdiff
path: root/lib/api/runners.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-06-02 19:06:01 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-06-09 16:00:24 +0800
commit1c302d566b45c83c0c768354b40e86ea0446dfe6 (patch)
treea21beadb296b127495fb0f7b19ec290af840f00d /lib/api/runners.rb
parent0eeb4bed497e5f6ba2af558869803432bee65f74 (diff)
downloadgitlab-ce-1c302d566b45c83c0c768354b40e86ea0446dfe6.tar.gz
WIP, try to add views for locked runners
Diffstat (limited to 'lib/api/runners.rb')
-rw-r--r--lib/api/runners.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb
index 4faba9dc87b..2d09b6193d9 100644
--- a/lib/api/runners.rb
+++ b/lib/api/runners.rb
@@ -49,7 +49,7 @@ module API
runner = get_runner(params[:id])
authenticate_update_runner!(runner)
- attrs = attributes_for_keys [:description, :active, :tag_list, :run_untagged]
+ attrs = attributes_for_keys [:description, :active, :tag_list, :run_untagged, :locked]
if runner.update(attrs)
present runner, with: Entities::RunnerDetails, current_user: current_user
else