Skip to content

Commit 012cf99

Browse files
committed
Fixed some mismatch after rebase
1 parent 9a03d40 commit 012cf99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ public void saveInterpreterBindings(NotebookSocket conn, Message fromMessage) {
473473
List<String> settingIdList = gson.fromJson(String.valueOf(
474474
fromMessage.data.get("selectedSettingIds")), new TypeToken<ArrayList<String>>() {
475475
}.getType());
476-
notebook().bindInterpretersToNote(noteId, settingIdList);
476+
AuthenticationInfo subject = new AuthenticationInfo(fromMessage.principal);
477+
notebook().bindInterpretersToNote(subject.getUser(), noteId, settingIdList);
477478
broadcastInterpreterBindings(noteId,
478479
InterpreterBindingUtils.getInterpreterBindings(notebook(), noteId));
479480
} catch (Exception e) {

0 commit comments

Comments
 (0)