You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marvin.apache.org by we...@apache.org on 2020/10/18 05:55:12 UTC

[incubator-marvin] 05/05: Changing more grpchost/grpcport fields

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

weichen pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-marvin.git

commit fd4b4db880588ffc212c124de5d75480929b442c
Author: cardosolucas <ca...@gmail.com>
AuthorDate: Fri Oct 16 11:20:56 2020 -0300

    Changing more grpchost/grpcport fields
---
 marvin-cli/marvin_cli/management/engine.py | 2 +-
 marvin-cli/marvin_cli/management/test.py   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/marvin-cli/marvin_cli/management/engine.py b/marvin-cli/marvin_cli/management/engine.py
index ff33cd2..00ab26f 100644
--- a/marvin-cli/marvin_cli/management/engine.py
+++ b/marvin-cli/marvin_cli/management/engine.py
@@ -99,7 +99,7 @@ def import_project(file, dest):
     help='Marvin engine action name')
 @click.option('--profiling', '-p', default=False, is_flag=True, help='Deterministic profiling of user code.')
 def dryrun(grpchost, grpcport, action, profiling):
-    rc = RemoteCalls(host, port)
+    rc = RemoteCalls(grpchost, grpcport)
     rc.run_dryrun(action, profiling)
 
 @cli.command("engine-grpcserver", help="Run gRPC of given actions.")
diff --git a/marvin-cli/marvin_cli/management/test.py b/marvin-cli/marvin_cli/management/test.py
index 6b7ffb6..8d3cded 100644
--- a/marvin-cli/marvin_cli/management/test.py
+++ b/marvin-cli/marvin_cli/management/test.py
@@ -30,7 +30,7 @@ def cli():
 @click.option('--pdb', is_flag=True)
 @click.argument('args', default='')
 def test(grpchost, grpcport, cov, no_capture, pdb, args):
-    rc = RemoteCalls(host, port)
+    rc = RemoteCalls(grpchost, grpcport)
     rc.run_test(cov, no_capture, pdb, args)
 
 @cli.command('test-tox', help='Run tests using Tox environment.')
@@ -38,7 +38,7 @@ def test(grpchost, grpcport, cov, no_capture, pdb, args):
 @click.option('--grpcport', '-gp', prompt='gRPC port', help='gRPC Port', default='50057')
 @click.argument('args', default='--current-env')
 def tox(grpchost, grpcport, args):
-    rc = RemoteCalls(host, port)
+    rc = RemoteCalls(grpchost, grpcport)
     rc.run_tox(args)
 
 @cli.command('test-tdd', help='Watch for changes to run tests automatically.')
@@ -50,5 +50,5 @@ def tox(grpchost, grpcport, args):
 @click.option('--partial', is_flag=True)
 @click.argument('args', default='')
 def tdd(grpchost, grpcport, cov, no_capture, pdb, partial, args):
-    rc = RemoteCalls(host, port)
+    rc = RemoteCalls(grpchost, grpcport)
     rc.run_tdd(cov, no_capture, pdb, partial, args)