Skip to content

Commit

Permalink
Remove mention of nonexistent DELETE /scheduler/jobs
Browse files Browse the repository at this point in the history
The README mentions an endpoint for deleting all jobs, but the endpoint
does not exist. Requesting "/scheduler/jobs" with DELETE returns an
error. The endpoint is not exactly desirable, and the README even said,
"Note: *don't do this*."

Fixes mesos#158
  • Loading branch information
ssorallen committed Dec 16, 2013
1 parent d070b6a commit 4bbf3e0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,6 @@ Get a job name from the job listing above. Then:
* Example: `curl -L -X DELETE chronos-node:4400/scheduler/job/request_event_counter_hourly`
* Response: HTTP 204

### Deleting All Jobs

Note: *don't do this*.

* Endpoint: __/scheduler/jobs__
* Method: __DELETE__
* Example: `curl -L -X DELETE chronos-node:4400/scheduler/jobs`
* Response: HTTP 204

### Deleting All Tasks for a Job

Deleting tasks for a job is useful if a job gets stuck. Get a job name from the job listing above. Then:
Expand Down

0 comments on commit 4bbf3e0

Please sign in to comment.