|
|
|
@@ -275,7 +275,7 @@ sendjob: |
|
|
|
SetHeader("Content-Type", "application/json"). |
|
|
|
SetAuthToken(TOKEN). |
|
|
|
SetResult(&result). |
|
|
|
Post(HOST + "/v1/" + setting.ProjectID + urlNotebook2 + "/" + jobID + "/" + param.Action) |
|
|
|
Post(HOST + "/v1/" + setting.ProjectID + urlNotebook2 + "/" + jobID + "/" + param.Action + "?duration=" + strconv.Itoa(autoStopDurationMs)) |
|
|
|
|
|
|
|
if err != nil { |
|
|
|
return &result, fmt.Errorf("resty ManageNotebook2: %v", err) |
|
|
|
|