yanghua commented on a change in pull request #9013: [FLINK-13136] Fix
documentation error about stop job with restful api
URL: https://github.com/apache/flink/pull/9013#discussion_r300921820
##########
File path: docs/_includes/generated/rest_v1_dispatcher.html
##########
@@ -1051,7 +1051,7 @@
<tr>
<td colspan="2">
<ul>
-<li><code>mode</code> (optional): String value that specifies the termination
mode. Supported values are: "cancel, stop".</li>
+<li><code>mode</code> (optional): String value that specifies the termination
mode. Supported value is: "cancel".</li>
Review comment:
> Also as the java doc said this is for the legacy usage, do we need to
change it?
I think the legacy usage is for `cancel` mode now. Since `stop` mode throws
an exception, why we should document it for new users?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services