Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
33176d07
Commit
33176d07
authored
3 years ago
by
Tim Gross
Browse files
Options
Download
Email Patches
Plain Diff
backport of commit 6e545d4f240a6de117aeae8de01c67ff7df52414
parent
7ad00b49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nomad/state/state_store.go
+3
-1
nomad/state/state_store.go
with
3 additions
and
1 deletion
+3
-1
nomad/state/state_store.go
+
3
-
1
View file @
33176d07
...
@@ -5124,7 +5124,9 @@ func (s *StateStore) updatePluginWithJobSummary(index uint64, summary *structs.J
...
@@ -5124,7 +5124,9 @@ func (s *StateStore) updatePluginWithJobSummary(index uint64, summary *structs.J
plug
=
plug
.
Copy
()
plug
=
plug
.
Copy
()
}
}
plug
.
UpdateExpectedWithJob
(
alloc
.
Job
,
summary
,
alloc
.
ServerTerminalStatus
())
plug
.
UpdateExpectedWithJob
(
alloc
.
Job
,
summary
,
alloc
.
Job
.
Status
==
structs
.
JobStatusDead
)
err
=
updateOrGCPlugin
(
index
,
txn
,
plug
)
err
=
updateOrGCPlugin
(
index
,
txn
,
plug
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
...
...
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