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
Léo-Paul Géneau
gitlab-ce
Commits
8d7fbd09
Commit
8d7fbd09
authored
Nov 07, 2017
by
bikebilly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change new occurrencies of n1-default-4
parent
a40bb176
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/clusters/providers/gcp.rb
app/models/clusters/providers/gcp.rb
+1
-1
spec/models/clusters/providers/gcp_spec.rb
spec/models/clusters/providers/gcp_spec.rb
+1
-1
No files found.
app/models/clusters/providers/gcp.rb
View file @
8d7fbd09
...
...
@@ -7,7 +7,7 @@ module Clusters
default_value_for
:zone
,
'us-central1-a'
default_value_for
:num_nodes
,
3
default_value_for
:machine_type
,
'n1-standard-
4
'
default_value_for
:machine_type
,
'n1-standard-
2
'
attr_encrypted
:access_token
,
mode: :per_attribute_iv
,
...
...
spec/models/clusters/providers/gcp_spec.rb
View file @
8d7fbd09
...
...
@@ -10,7 +10,7 @@ describe Clusters::Providers::Gcp do
it
"has default value"
do
expect
(
gcp
.
zone
).
to
eq
(
'us-central1-a'
)
expect
(
gcp
.
num_nodes
).
to
eq
(
3
)
expect
(
gcp
.
machine_type
).
to
eq
(
'n1-standard-
4
'
)
expect
(
gcp
.
machine_type
).
to
eq
(
'n1-standard-
2
'
)
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