Fix nitpicks

This commit is contained in:
Kamil Trzcinski 2017-11-03 09:22:11 +01:00
parent 4d0a700da0
commit 4477f7bb59
2 changed files with 2 additions and 2 deletions

View File

@ -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: {

View File

@ -17,7 +17,7 @@ module Clusters
end
def helm_api
@helm ||= Gitlab::Kubernetes::Helm.new(kubeclient)
@helm_api ||= Gitlab::Kubernetes::Helm.new(kubeclient)
end
end
end