From 0ccb3f764fa4bee42d555a250a537747711dc8a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Am=C3=A9lie?= Date: Mon, 31 Jan 2022 13:18:47 +0100 Subject: [PATCH] Update client.go Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com> --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 3fc7bb91..31dcea50 100644 --- a/client.go +++ b/client.go @@ -42,7 +42,7 @@ type ClientInterface interface { IsHealthy() bool GetTask(taskID int64) (resp *Task, err error) GetTasks() (resp *ResultTask, err error) - WaitForTask(ctx context.Context, interval time.Duration, taskID *Task) (*Task, error) + WaitForTask(ctx context.Context, interval time.Duration, task *Task) (*Task, error) DefaultWaitForTask(taskID *Task) (*Task, error) }