Fix nitpicks
This commit is contained in:
parent
4d0a700da0
commit
4477f7bb59
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue