Fix nitpicks
This commit is contained in:
parent
4d0a700da0
commit
4477f7bb59
2 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ module Clusters
|
||||||
validates :name, cluster_name: true
|
validates :name, cluster_name: true
|
||||||
validate :restrict_modification, on: :update
|
validate :restrict_modification, on: :update
|
||||||
|
|
||||||
|
delegate :status, to: :provider, allow_nil: true
|
||||||
delegate :status_reason, 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
|
delegate :on_creation?, to: :provider, allow_nil: true
|
||||||
|
|
||||||
enum platform_type: {
|
enum platform_type: {
|
||||||
|
|
|
@ -17,7 +17,7 @@ module Clusters
|
||||||
end
|
end
|
||||||
|
|
||||||
def helm_api
|
def helm_api
|
||||||
@helm ||= Gitlab::Kubernetes::Helm.new(kubeclient)
|
@helm_api ||= Gitlab::Kubernetes::Helm.new(kubeclient)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue