diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-03 09:22:11 +0100 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-03 09:22:11 +0100 |
| commit | 4477f7bb5925d8d720e3e8272bd882fffcc04b28 (patch) | |
| tree | 873fe5da1a1705946f7a9cc298d16ee0a905dbaa /app/models/clusters | |
| parent | 4d0a700da09be50291e40a11975b56f74051405b (diff) | |
| download | gitlab-ce-4477f7bb5925d8d720e3e8272bd882fffcc04b28.tar.gz | |
Fix nitpicks
Diffstat (limited to 'app/models/clusters')
| -rw-r--r-- | app/models/clusters/cluster.rb | 2 |
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: { |
