diff options
Diffstat (limited to 'app/services/ci/runners/create_runner_service.rb')
-rw-r--r-- | app/services/ci/runners/create_runner_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/runners/create_runner_service.rb b/app/services/ci/runners/create_runner_service.rb index fcb664500a9..ff4a33e431b 100644 --- a/app/services/ci/runners/create_runner_service.rb +++ b/app/services/ci/runners/create_runner_service.rb @@ -29,7 +29,7 @@ module Ci return ServiceResponse.success(payload: { runner: runner }) if runner.save - ServiceResponse.error(message: runner.errors.full_messages) + ServiceResponse.error(message: runner.errors.full_messages, reason: :save_error) end def normalize_params |