|
|
@@ -26,7 +26,7 @@ func StatusReport(url string, report *JobStatusReportReq) error { |
|
|
req := common.GetRestyRequest(common.TIMEOUT) |
|
|
req := common.GetRestyRequest(common.TIMEOUT) |
|
|
_, err := req. |
|
|
_, err := req. |
|
|
SetHeader("Content-Type", "application/json"). |
|
|
SetHeader("Content-Type", "application/json"). |
|
|
SetBody(&report). |
|
|
|
|
|
|
|
|
SetBody(report). |
|
|
SetResult(&resp). |
|
|
SetResult(&resp). |
|
|
Post(url) |
|
|
Post(url) |
|
|
|
|
|
|
|
|
|