mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
api: removed unused AllocID from AllocSignalRequest
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user