diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-07 19:30:14 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-07 19:30:14 +0100 |
commit | 8842f55201ae4725b307336686f8ab168fa0effb (patch) | |
tree | 9fd3079231ad2258374e54e6ff26168e5809be43 /app/models/ci/stage.rb | |
parent | 93c72e0f71919968972e874519e01370edcce022 (diff) | |
download | gitlab-ce-8842f55201ae4725b307336686f8ab168fa0effb.tar.gz |
Code review
Diffstat (limited to 'app/models/ci/stage.rb')
-rw-r--r-- | app/models/ci/stage.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/ci/stage.rb b/app/models/ci/stage.rb index fe1c5c642e1..d2a37c0a827 100644 --- a/app/models/ci/stage.rb +++ b/app/models/ci/stage.rb @@ -9,7 +9,9 @@ module Ci delegate :project, to: :pipeline def initialize(pipeline, name:, status: nil) - @pipeline, @name, @status = pipeline, name, status + @pipeline = pipeline + @name = name + @status = status end def to_param |