summaryrefslogtreecommitdiff
path: root/app/models/clusters
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-03 09:22:11 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-03 09:22:11 +0100
commit4477f7bb5925d8d720e3e8272bd882fffcc04b28 (patch)
tree873fe5da1a1705946f7a9cc298d16ee0a905dbaa /app/models/clusters
parent4d0a700da09be50291e40a11975b56f74051405b (diff)
downloadgitlab-ce-4477f7bb5925d8d720e3e8272bd882fffcc04b28.tar.gz
Fix nitpicks
Diffstat (limited to 'app/models/clusters')
-rw-r--r--app/models/clusters/cluster.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/cluster.rb b/app/models/clusters/cluster.rb
index 3fd8ffb6e92..7dae2234998 100644
--- a/app/models/clusters/cluster.rb
+++ b/app/models/clusters/cluster.rb
@@ -27,8 +27,8 @@ module Clusters
validates :name, cluster_name: true
validate :restrict_modification, on: :update
+ delegate :status, to: :provider, allow_nil: true
delegate :status_reason, to: :provider, allow_nil: true
- delegate :status_name, to: :provider, allow_nil: true
delegate :on_creation?, to: :provider, allow_nil: true
enum platform_type: {