mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix getCronJob response code.
This commit is contained in:
parent
73f3b2b7d8
commit
5bb2c5e6e9
1 changed files with 2 additions and 2 deletions
|
|
@ -363,7 +363,7 @@ public class NotebookRestApi {
|
|||
/**
|
||||
* Get cron job REST API
|
||||
* @param
|
||||
* @return JSON with status.ACCEPTED
|
||||
* @return JSON with status.OK
|
||||
* @throws IOException, IllegalArgumentException
|
||||
*/
|
||||
@GET
|
||||
|
|
@ -377,6 +377,6 @@ public class NotebookRestApi {
|
|||
return new JsonResponse(Status.NOT_FOUND, "note not found.").build();
|
||||
}
|
||||
|
||||
return new JsonResponse(Status.ACCEPTED, note.getConfig().get("cron")).build();
|
||||
return new JsonResponse(Status.OK, note.getConfig().get("cron")).build();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue