Commit 06e30c45 authored by Chris Baker's avatar Chris Baker
Browse files

api: removed unused AllocID from AllocSignalRequest

parent 77619b6b
Showing with 4 additions and 6 deletions
+4 -6
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment