Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
b69219d2
Commit
b69219d2
authored
2 years ago
by
Phil Renaud
Browse files
Options
Download
Email Patches
Plain Diff
Lintfixes
parent
2a8c8c2b
Branches unavailable
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.4.0-rc.1
v1.4.0-beta.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ui/app/components/allocation-service-sidebar.js
+1
-1
ui/app/components/allocation-service-sidebar.js
ui/app/controllers/allocations/allocation/index.js
+1
-1
ui/app/controllers/allocations/allocation/index.js
with
2 additions
and
2 deletions
+2
-2
ui/app/components/allocation-service-sidebar.js
+
1
-
1
View file @
b69219d2
...
...
@@ -38,7 +38,7 @@ export default class AllocationServiceSidebarComponent extends Component {
}
get
checks
()
{
if
(
!
this
.
args
.
service
||
!
this
.
args
.
allocation
)
return
;
if
(
!
this
.
args
.
service
||
!
this
.
args
.
allocation
)
return
null
;
let
allocID
=
this
.
args
.
allocation
.
id
;
// Our UI checks run every 2 seconds; but a check itself may only update every, say, minute.
// Therefore, we'll have duplicate checks in a service's healthChecks array.
...
...
This diff is collapsed.
Click to expand it.
ui/app/controllers/allocations/allocation/index.js
+
1
-
1
View file @
b69219d2
...
...
@@ -71,7 +71,7 @@ export default class IndexController extends Controller.extend(Sortable) {
@
union
(
'
taskServices
'
,
'
groupServices
'
)
services
;
@
computed
(
'
model.healthChecks
.{
}
'
,
'
services
'
)
@
computed
(
'
model.
{
healthChecks
,id
}
'
,
'
services
'
)
get
servicesWithHealthChecks
()
{
return
this
.
services
.
map
((
service
)
=>
{
if
(
this
.
model
.
healthChecks
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help