You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2015/12/10 12:22:37 UTC

[2/2] mesos git commit: Corrected a comment in reservation endpoint tests.

Corrected a comment in reservation endpoint tests.

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


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

Branch: refs/heads/master
Commit: 9ab2e6f60855cd894540471047caba256a857281
Parents: 6007a1a
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Thu Dec 10 06:13:50 2015 -0500
Committer: Michael Park <mp...@apache.org>
Committed: Thu Dec 10 06:13:50 2015 -0500

----------------------------------------------------------------------
 src/tests/reservation_endpoints_tests.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/9ab2e6f6/src/tests/reservation_endpoints_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reservation_endpoints_tests.cpp b/src/tests/reservation_endpoints_tests.cpp
index c3833d0..d5d2aa7 100644
--- a/src/tests/reservation_endpoints_tests.cpp
+++ b/src/tests/reservation_endpoints_tests.cpp
@@ -954,8 +954,8 @@ TEST_F(ReservationEndpointsTest, BadUnreserveACL)
   TestAllocator<> allocator;
   ACLs acls;
 
-  // This ACL asserts that ANY principal can reserve NONE,
-  // i.e. no principals can reserve anything.
+  // This ACL asserts that ANY principal can unreserve NONE,
+  // i.e. no principals can unreserve anything.
   mesos::ACL::UnreserveResources* unreserve = acls.add_unreserve_resources();
   unreserve->mutable_principals()->set_type(mesos::ACL::Entity::ANY);
   unreserve->mutable_reserver_principals()->set_type(mesos::ACL::Entity::NONE);