api: removed unused AllocID from AllocSignalRequest

This commit is contained in:
Chris Baker
2019-06-21 21:44:38 +00:00
parent 77619b6b63
commit 06e30c4589

View File

@@ -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