Skip to content

Commit

Permalink
Update supervisor.go
Browse files Browse the repository at this point in the history
Co-authored-by: Luboš Pokorný <[email protected]>
  • Loading branch information
vzayts and zoido authored Dec 12, 2023
1 parent 2510094 commit 24498ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 24498ae

Please sign in to comment.