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
48a551e8
Commit
48a551e8
authored
Apr 05, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nitpicks
parent
7d8814a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/models/project_services/mock_deployment_service.rb
app/models/project_services/mock_deployment_service.rb
+1
-1
app/models/project_services/mock_monitoring_service.rb
app/models/project_services/mock_monitoring_service.rb
+1
-1
lib/gitlab/kubernetes/deployment.rb
lib/gitlab/kubernetes/deployment.rb
+1
-1
No files found.
app/models/project_services/mock_deployment_service.rb
View file @
48a551e8
...
...
@@ -28,6 +28,6 @@ class MockDeploymentService < DeploymentService
private
def
rollout_status_instances
JSON
.
parse
(
File
.
read
(
Rails
.
root
+
'spec/fixtures/
rollout_status_instances.json'
))
JSON
.
parse
(
Rails
.
root
.
join
(
'spec'
,
'fixtures'
,
'
rollout_status_instances.json'
))
end
end
app/models/project_services/mock_monitoring_service.rb
View file @
48a551e8
...
...
@@ -12,6 +12,6 @@ class MockMonitoringService < MonitoringService
end
def
metrics
(
environment
)
JSON
.
parse
(
File
.
read
(
Rails
.
root
+
'spec/fixtures/
metrics.json'
))
JSON
.
parse
(
Rails
.
root
.
join
(
'spec'
,
'fixtures'
,
'
metrics.json'
))
end
end
lib/gitlab/kubernetes/deployment.rb
View file @
48a551e8
...
...
@@ -14,7 +14,7 @@ module Gitlab
end
def
track
labels
.
fetch
(
'track'
,
nil
)
||
'stable'
labels
.
fetch
(
'track'
,
'stable'
)
end
def
stable?
...
...
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