Skip to content

Commit

Permalink
Added ability to specify runtime for localrunner (apache#7681)
Browse files Browse the repository at this point in the history
* Added ability to specify runtime for localrunner

* Address feedback

Co-authored-by: Sanjeev Kulkarni <[email protected]>
  • Loading branch information
srkukarni and Sanjeev Kulkarni authored Jul 28, 2020
1 parent e2bf486 commit c76fd37
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ class LocalRunner extends FunctionDetailsCommand {
protected Integer DEPRECATED_instanceIdOffset = null;
@Parameter(names = "--instance-id-offset", description = "Start the instanceIds from this offset")
protected Integer instanceIdOffset = 0;
@Parameter(names = "--runtime", description = "either THREAD or PROCESS. Only applies for Java functions")
protected String runtime;

private void mergeArgs() {
if (!StringUtils.isBlank(DEPRECATED_stateStorageServiceUrl)) stateStorageServiceUrl = DEPRECATED_stateStorageServiceUrl;
Expand Down

0 comments on commit c76fd37

Please sign in to comment.