diff options
Diffstat (limited to 'app/graphql/mutations/ci/runner/update.rb')
-rw-r--r-- | app/graphql/mutations/ci/runner/update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/ci/runner/update.rb b/app/graphql/mutations/ci/runner/update.rb index 2f2c8c4c668..3c99cde60a4 100644 --- a/app/graphql/mutations/ci/runner/update.rb +++ b/app/graphql/mutations/ci/runner/update.rb @@ -68,7 +68,7 @@ module Mutations response = { runner: runner, errors: [] } ::Ci::Runner.transaction do - associate_runner_projects(response, runner, associated_projects_ids) if associated_projects_ids.present? + associate_runner_projects(response, runner, associated_projects_ids) unless associated_projects_ids.nil? update_runner(response, runner, runner_attrs) end |