mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Apply broadcasting note list after sucessful update for notebook repo
This commit is contained in:
parent
7fc1f37aed
commit
42fd3b5faa
1 changed files with 2 additions and 2 deletions
|
|
@ -107,8 +107,8 @@ public class NotebookRepoRestApi {
|
|||
NotebookRepoWithSettings updatedSettings =
|
||||
noteRepos.updateNotebookRepo(newSettings.name, newSettings.settings, subject);
|
||||
if (!updatedSettings.isEmpty()) {
|
||||
//TODO(anthony): need to uncomment bellow once #1537 is merged.
|
||||
// notebookWsServer.broadcastReloadedNoteList(subject);
|
||||
LOG.info("Broadcasting note list to user {}", subject.getUser());
|
||||
notebookWsServer.broadcastReloadedNoteList(subject, null);
|
||||
}
|
||||
return new JsonResponse<>(Status.OK, "", updatedSettings).build();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue