diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 13:34:38 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 13:34:38 +0200 |
commit | fe5735a8602b286953477eff5c58ce88b0054c7d (patch) | |
tree | de695b7b5d4174ee3c666bb04b7b732f215ec8d1 /app/models/commit_status.rb | |
parent | 08baa9983ee586c10b4fa28f68b10ba8e7807125 (diff) | |
download | gitlab-ce-fe5735a8602b286953477eff5c58ce88b0054c7d.tar.gz |
Delegate to pipeline instead of commit
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 98a8b541e96..e53c483b904 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -52,7 +52,7 @@ class CommitStatus < ActiveRecord::Base end end - delegate :sha, :short_sha, to: :commit + delegate :sha, :short_sha, to: :pipeline def before_sha pipeline.before_sha || Gitlab::Git::BLANK_SHA |