Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
4477f7bb
Commit
4477f7bb
authored
Nov 03, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nitpicks
parent
4d0a700d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/clusters/cluster.rb
app/models/clusters/cluster.rb
+1
-1
app/services/clusters/base_helm_service.rb
app/services/clusters/base_helm_service.rb
+1
-1
No files found.
app/models/clusters/cluster.rb
View file @
4477f7bb
...
@@ -27,8 +27,8 @@ module Clusters
...
@@ -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:
{
...
...
app/services/clusters/base_helm_service.rb
View file @
4477f7bb
...
@@ -17,7 +17,7 @@ module Clusters
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment