From 06e30c458929d398bfef47cdc678bd85888548ff Mon Sep 17 00:00:00 2001 From: Chris Baker Date: Fri, 21 Jun 2019 21:44:38 +0000 Subject: [PATCH] api: removed unused AllocID from AllocSignalRequest --- api/allocations.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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