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
Jérome Perrin
gitlab-ce
Commits
8cff79bc
Commit
8cff79bc
authored
Oct 04, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix static analysys. Fix import config.
parent
982c2b83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/models/gcp/cluster.rb
app/models/gcp/cluster.rb
+3
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+1
-1
No files found.
app/models/gcp/cluster.rb
View file @
8cff79bc
...
@@ -47,7 +47,9 @@ module Gcp
...
@@ -47,7 +47,9 @@ module Gcp
}
}
validates
:gcp_cluster_zone
,
presence:
true
validates
:gcp_cluster_zone
,
presence:
true
validates
:gcp_cluster_size
,
presence:
true
,
validates
:gcp_cluster_size
,
presence:
true
,
numericality:
{
numericality:
{
only_integer:
true
,
only_integer:
true
,
greater_than:
0
greater_than:
0
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
8cff79bc
...
@@ -147,7 +147,7 @@ deploy_keys:
...
@@ -147,7 +147,7 @@ deploy_keys:
-
user
-
user
-
deploy_keys_projects
-
deploy_keys_projects
-
projects
-
projects
cluster
s
:
cluster
:
-
project
-
project
-
user
-
user
-
service
-
service
...
...
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