diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-02-25 20:05:26 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-03-01 22:52:38 +0900 |
commit | f62dc67d262792829bdcaef779b3915e9cc93a4f (patch) | |
tree | f9419e96914addb59dfa4ab653c9c6151b33e4e2 /app/models/ci/build.rb | |
parent | dc5fc28382246fbbe2bb6f61fe8dac136b5f3189 (diff) | |
download | gitlab-ce-f62dc67d262792829bdcaef779b3915e9cc93a4f.tar.gz |
Add suffix for merge request event
Fix
ok
Add spec
Fix
ok
Fix
Add changelog
Fix
Add memoization
a
fix
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index c902e49ee6d..65962fba14d 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -46,7 +46,7 @@ module Ci delegate :terminal_specification, to: :runner_session, allow_nil: true delegate :gitlab_deploy_token, to: :project delegate :trigger_short_token, to: :trigger_request, allow_nil: true - delegate :merge_request?, to: :pipeline + delegate :merge_request_event?, to: :pipeline ## # Since Gitlab 11.5, deployments records started being created right after |