mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinodk...@apache.org
Subject mesos git commit: Minor fix for error string in filesystem isolator tests.
Date Fri, 06 Nov 2015 17:25:06 GMT
Repository: mesos
Updated Branches:
  refs/heads/master ed6aad76a -> 63c6ca39a


Minor fix for error string in filesystem isolator tests.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/63c6ca39
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/63c6ca39
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/63c6ca39

Branch: refs/heads/master
Commit: 63c6ca39a391ca5cb9141afdf706e942dd828311
Parents: ed6aad7
Author: Vinod Kone <vinodkone@gmail.com>
Authored: Fri Nov 6 09:24:53 2015 -0800
Committer: Vinod Kone <vinodkone@gmail.com>
Committed: Fri Nov 6 09:24:53 2015 -0800

----------------------------------------------------------------------
 src/tests/containerizer/filesystem_isolator_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/63c6ca39/src/tests/containerizer/filesystem_isolator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/filesystem_isolator_tests.cpp b/src/tests/containerizer/filesystem_isolator_tests.cpp
index 6e77812..f1ab98a 100644
--- a/src/tests/containerizer/filesystem_isolator_tests.cpp
+++ b/src/tests/containerizer/filesystem_isolator_tests.cpp
@@ -122,7 +122,7 @@ public:
     if (!os::exists(rootDir)) {
       Try<Nothing> mkdir = os::mkdir(rootDir);
       if (mkdir.isError()) {
-        return Error("Failed to create root dir: " + mkdir.isError());
+        return Error("Failed to create root dir: " + mkdir.error());
       }
     }
 


Mime
View raw message