You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2017/10/09 21:45:19 UTC

[3/3] mesos git commit: Removed a redundant equality check for Mount disk source.

Removed a redundant equality check for Mount disk source.

Review: https://reviews.apache.org/r/62818


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

Branch: refs/heads/master
Commit: 07f8da23c3f85193e00ab6f3d618ea5e3cdd54be
Parents: ef01fa6
Author: Jie Yu <yu...@gmail.com>
Authored: Fri Oct 6 13:57:49 2017 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Oct 9 14:45:05 2017 -0700

----------------------------------------------------------------------
 src/common/resources.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/07f8da23/src/common/resources.cpp
----------------------------------------------------------------------
diff --git a/src/common/resources.cpp b/src/common/resources.cpp
index ea0f3a2..07fa56a 100644
--- a/src/common/resources.cpp
+++ b/src/common/resources.cpp
@@ -146,7 +146,7 @@ bool operator==(
     return false;
   }
 
-  return left.root() == right.root();
+  return true;
 }