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

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


The following commit(s) were added to refs/heads/master by this push:
     new bffedbf  Add cluster to cmdline options (#3312)
bffedbf is described below

commit bffedbf178ca66487083a5f6d9b22308e722f177
Author: Ning Wang <[email protected]>
AuthorDate: Wed Jul 10 11:52:16 2019 -0700

    Add cluster to cmdline options (#3312)
---
 heron/tools/cli/src/python/submit.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/heron/tools/cli/src/python/submit.py 
b/heron/tools/cli/src/python/submit.py
index ca7d5e6..f147619 100644
--- a/heron/tools/cli/src/python/submit.py
+++ b/heron/tools/cli/src/python/submit.py
@@ -463,6 +463,10 @@ def run(command, parser, cl_args, unknown_args):
   opts.set_config('cmdline.topology.initial.state', initial_state)
   opts.set_config('cmdline.topology.role', cl_args['role'])
   opts.set_config('cmdline.topology.environment', cl_args['environ'])
+  opts.set_config('cmdline.topology.cluster', cl_args['cluster'])
+  opts.set_config('cmdline.topology.file_name', cl_args['topology-file-name'])
+  opts.set_config('cmdline.topology.class_name', 
cl_args['topology-class-name'])
+  opts.set_config('cmdline.topology.submit_user', cl_args['submit_user'])
 
   # Use CLI release yaml file if the release_yaml_file config is empty
   if not cl_args['release_yaml_file']:

Reply via email to