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
a4c739b4
Unverified
Commit
a4c739b4
authored
4 years ago
by
Drew Bailey
Browse files
Options
Download
Email Patches
Plain Diff
leader wip
parent
bd25f685
Branches unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nomad/leader.go
+4
-0
nomad/leader.go
with
4 additions
and
0 deletions
+4
-0
nomad/leader.go
+
4
-
0
View file @
a4c739b4
...
...
@@ -853,6 +853,10 @@ func (s *Server) publishJobStatusMetrics(stopCh chan struct{}) {
}
func
(
s
*
Server
)
publishEventsForSinks
(
stopCh
chan
struct
{})
{
broker
,
err
:=
s
.
State
()
.
EventBroker
()
if
err
!=
nil
{
s
.
logger
.
Warn
(
"event broker not enabled on leader"
,
"error"
,
err
)
}
for
{
select
{
...
...
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