You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by js...@apache.org on 2019/08/25 01:37:35 UTC

[incubator-livy] branch master updated: [LIVY-648][DOC] Wrong return message in cancel statement documentation

This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-livy.git


The following commit(s) were added to refs/heads/master by this push:
     new 515c327  [LIVY-648][DOC] Wrong return message in cancel statement documentation
515c327 is described below

commit 515c3278ddba957e6b1c9a3d4dec673a191ebe1a
Author: Oleksandr Shevchenko <ol...@datarobot.com>
AuthorDate: Sun Aug 25 09:37:03 2019 +0800

    [LIVY-648][DOC] Wrong return message in cancel statement documentation
    
    ## What changes were proposed in this pull request?
    Fix the trivial mistake in the documentation. "Canceled" vs "cancelled" (two Ls).
    See details in the ticket https://issues.apache.org/jira/browse/LIVY-648
    
    Or better to change message here?
    https://github.com/apache/incubator-livy/blob/ae961700d71fd1669dec4f396c8990d3d8c93759/server/src/main/scala/org/apache/livy/server/interactive/InteractiveSessionServlet.scala#L149
    
    ## How was this patch tested?
    not need any tests
    
    Author: Oleksandr Shevchenko <ol...@datarobot.com>
    
    Closes #210 from o-shevchenko/DM-648.
---
 docs/rest-api.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/rest-api.md b/docs/rest-api.md
index d4be858..ba5c9d0 100644
--- a/docs/rest-api.md
+++ b/docs/rest-api.md
@@ -305,7 +305,7 @@ Cancel the specified statement in this session.
   <tr><th>Name</th><th>Description</th><th>Type</th></tr>
   <tr>
     <td>msg</td>
-    <td>is always "cancelled"</td>
+    <td>is always "canceled"</td>
     <td>string</td>
   </tr>
 </table>