From 24498ae9490cf5f000d096f53cb91f8310cc827b Mon Sep 17 00:00:00 2001 From: Victor Zaytsev <94850767+vzaytsev1981@users.noreply.github.com> Date: Tue, 12 Dec 2023 08:10:41 -0500 Subject: [PATCH] Update supervisor.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Luboš Pokorný --- supervisor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor.go b/supervisor.go index cdc0428..2d76589 100644 --- a/supervisor.go +++ b/supervisor.go @@ -143,7 +143,7 @@ func (s *SupervisorService) SuspendAll() (string, error) { // https://druid.apache.org/docs/latest/api-reference/supervisor-api/#resume-a-supervisor func (s *SupervisorService) Resume(supervisorID string) (OutputIngestionSpec, error) { var result OutputIngestionSpec - r, err := s.client.NewRequest(http.MethodPost, applySupervisorId(supervisorResumeEndpoint, supervisorID), nil) + r, err := s.client.NewRequest(http.MethodPost, applySupervisorId(supervisorResumeEndpoint, supervisorID), nil /*no data*/) if err != nil { return result, err }