You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by ah...@apache.org on 2017/04/19 09:51:58 UTC

zeppelin git commit: [MINOR] fix typo from 'interpeter' to 'interpreter'

Repository: zeppelin
Updated Branches:
  refs/heads/master 4d6485737 -> c3fbb1ef6


[MINOR] fix typo from 'interpeter' to 'interpreter'

### What is this PR for?
Fix typo from `interpeter` to `interpreter`

### What type of PR is it?
[Improvement]

### What is the Jira issue?
* No, it's minor issue

### How should this be tested?
- N/A

### Screenshots (if appropriate)
- N/A

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: soralee <so...@zepl.com>

Closes #2244 from soralee/typo_interpreter and squashes the following commits:

863dc4f [soralee] fix typo


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/c3fbb1ef
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/c3fbb1ef
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/c3fbb1ef

Branch: refs/heads/master
Commit: c3fbb1ef664e7a54a8bc52eee435b91be8a6e16d
Parents: 4d64857
Author: soralee <so...@zepl.com>
Authored: Tue Apr 11 09:43:03 2017 +0900
Committer: ahyoungryu <ah...@apache.org>
Committed: Wed Apr 19 18:51:52 2017 +0900

----------------------------------------------------------------------
 zeppelin-web/src/app/notebook/notebook.controller.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/c3fbb1ef/zeppelin-web/src/app/notebook/notebook.controller.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/app/notebook/notebook.controller.js b/zeppelin-web/src/app/notebook/notebook.controller.js
index 5fde0f4..1322419 100644
--- a/zeppelin-web/src/app/notebook/notebook.controller.js
+++ b/zeppelin-web/src/app/notebook/notebook.controller.js
@@ -712,13 +712,13 @@ function NotebookCtrl($scope, $route, $routeParams, $location, $rootScope,
     angular.element('.permissionsForm select').find('option:not([is-select2="false"])').remove();
   }
 
-  $scope.restartInterpreter = function(interpeter) {
+  $scope.restartInterpreter = function(interpreter) {
     var thisConfirm = BootstrapDialog.confirm({
       closable: false,
       closeByBackdrop: false,
       closeByKeyboard: false,
       title: '',
-      message: 'Do you want to restart ' + interpeter.name + ' interpreter?',
+      message: 'Do you want to restart ' + interpreter.name + ' interpreter?',
       callback: function(result) {
         if (result) {
           var payload  = {
@@ -729,9 +729,9 @@ function NotebookCtrl($scope, $route, $routeParams, $location, $rootScope,
           thisConfirm.$modalFooter.find('button:contains("OK")')
             .html('<i class="fa fa-circle-o-notch fa-spin"></i> Saving Setting');
 
-          $http.put(baseUrlSrv.getRestApiBase() + '/interpreter/setting/restart/' + interpeter.id, payload)
+          $http.put(baseUrlSrv.getRestApiBase() + '/interpreter/setting/restart/' + interpreter.id, payload)
             .success(function(data, status, headers, config) {
-              var index = _.findIndex($scope.interpreterSettings, {'id': interpeter.id});
+              var index = _.findIndex($scope.interpreterSettings, {'id': interpreter.id});
               $scope.interpreterSettings[index] = data.body;
               thisConfirm.close();
             }).error(function(data, status, headers, config) {