diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-06-02 19:06:01 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-06-09 16:00:24 +0800 |
commit | 1c302d566b45c83c0c768354b40e86ea0446dfe6 (patch) | |
tree | a21beadb296b127495fb0f7b19ec290af840f00d /app/models | |
parent | 0eeb4bed497e5f6ba2af558869803432bee65f74 (diff) | |
download | gitlab-ce-1c302d566b45c83c0c768354b40e86ea0446dfe6.tar.gz |
WIP, try to add views for locked runners
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index 5c42c94e4dc..7a3dfaa4e61 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -4,7 +4,7 @@ module Ci LAST_CONTACT_TIME = 5.minutes.ago AVAILABLE_SCOPES = %w[specific shared active paused online] - FORM_EDITABLE = %i[description tag_list active run_untagged] + FORM_EDITABLE = %i[description tag_list active run_untagged locked] has_many :builds, class_name: 'Ci::Build' has_many :runner_projects, dependent: :destroy, class_name: 'Ci::RunnerProject' |