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
06e30c45
Commit
06e30c45
authored
5 years ago
by
Chris Baker
Browse files
Options
Download
Email Patches
Plain Diff
api: removed unused AllocID from AllocSignalRequest
parent
77619b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/allocations.go
+4
-6
api/allocations.go
with
4 additions
and
6 deletions
+4
-6
api/allocations.go
+
4
-
6
View file @
06e30c45
...
...
@@ -335,9 +335,8 @@ func (a *Allocations) Signal(alloc *Allocation, q *QueryOptions, task, signal st
}
req
:=
AllocSignalRequest
{
AllocID
:
alloc
.
ID
,
Signal
:
signal
,
Task
:
task
,
Signal
:
signal
,
Task
:
task
,
}
var
resp
GenericResponse
...
...
@@ -519,9 +518,8 @@ type AllocationRestartRequest struct {
}
type
AllocSignalRequest
struct
{
AllocID
string
Task
string
Signal
string
Task
string
Signal
string
}
// GenericResponse is used to respond to a request where no
...
...
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