diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-10-04 22:40:12 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-10-04 22:40:12 +0900 |
commit | a644f4b829080d603405c6eee73a88e2be5cf929 (patch) | |
tree | f050264bffc9ac43d600747cb3e43d734bc4fd6b /app/models | |
parent | ea4af856e49cf5933b6995965fa7d6b922e38c20 (diff) | |
download | gitlab-ce-a644f4b829080d603405c6eee73a88e2be5cf929.tar.gz |
Add spec/models/gcp/cluster_spec.rb
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/gcp/cluster.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/gcp/cluster.rb b/app/models/gcp/cluster.rb index 21eab9d8c1c..367e9be578c 100644 --- a/app/models/gcp/cluster.rb +++ b/app/models/gcp/cluster.rb @@ -84,7 +84,7 @@ module Gcp cluster.gcp_operation_id = nil end - before_transition any => [:errored] do |cluster| + before_transition any => [:errored] do |cluster, transition| status_reason = transition.args.first cluster.status_reason = status_reason end |