diff --git a/api/allocations.go b/api/allocations.go index fde558e11..3089f775e 100644 --- a/api/allocations.go +++ b/api/allocations.go @@ -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