You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by kl...@apache.org on 2018/11/26 13:24:22 UTC

[mesos] branch master updated: Fixed name of task created when running mesos-cli-tests.

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

klueska pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 48cdd10  Fixed name of task created when running mesos-cli-tests.
48cdd10 is described below

commit 48cdd101c7a9730029471b8f881df46e136bfae4
Author: Armand Grillet <ag...@mesosphere.io>
AuthorDate: Mon Nov 26 08:22:58 2018 -0500

    Fixed name of task created when running mesos-cli-tests.
    
    Review: https://reviews.apache.org/r/69425/
---
 src/python/cli_new/lib/cli/tests/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/python/cli_new/lib/cli/tests/base.py b/src/python/cli_new/lib/cli/tests/base.py
index c28e2a6..58c96d7 100644
--- a/src/python/cli_new/lib/cli/tests/base.py
+++ b/src/python/cli_new/lib/cli/tests/base.py
@@ -333,7 +333,7 @@ class Task(Executable):
             raise CLIException("No command supplied when creating task")
 
         self.flags = flags
-        self.name = "task"
+        self.name = flags["name"]
         self.executable = os.path.join(
             CLITestCase.MESOS_BUILD_DIR,
             "src",