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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d502ce59
Commit
d502ce59
authored
Dec 03, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop
parent
b4ea5e3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/controllers/projects/clusters/gcp_controller.rb
app/controllers/projects/clusters/gcp_controller.rb
+1
-2
app/controllers/projects/clusters/kubernetes_controller.rb
app/controllers/projects/clusters/kubernetes_controller.rb
+1
-1
No files found.
app/controllers/projects/clusters/gcp_controller.rb
View file @
d502ce59
...
...
@@ -31,7 +31,6 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
if
@cluster
.
persisted?
redirect_to
project_cluster_path
(
project
,
@cluster
)
else
puts
"NOT PERSISTED"
render
:new
end
end
...
...
@@ -49,7 +48,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
:machine_type
]).
merge
(
provider_type: :gcp
,
platform_type: :kubernetes
,
platform_type: :kubernetes
)
end
...
...
app/controllers/projects/clusters/kubernetes_controller.rb
View file @
d502ce59
...
...
@@ -33,7 +33,7 @@ class Projects::Clusters::KubernetesController < Projects::ApplicationController
:ca_cert
]).
merge
(
provider_type: :user
,
platform_type: :kubernetes
,
platform_type: :kubernetes
)
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