You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2019/04/24 07:33:23 UTC

[mesos] branch master updated: Used `operator->` instead of `get`.

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

bbannier 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 325911d  Used `operator->` instead of `get`.
325911d is described below

commit 325911d33e42706572f2a77766d24ad151a4fc5b
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Wed Apr 24 09:07:30 2019 +0200

    Used `operator->` instead of `get`.
    
    Review: https://reviews.apache.org/r/70539
---
 src/tests/http_fault_tolerance_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/http_fault_tolerance_tests.cpp b/src/tests/http_fault_tolerance_tests.cpp
index cd265ba..a9e8d0c 100644
--- a/src/tests/http_fault_tolerance_tests.cpp
+++ b/src/tests/http_fault_tolerance_tests.cpp
@@ -163,7 +163,7 @@ TEST_F(HttpFaultToleranceTest, FrameworkPrincipalChangeFails)
       .WillOnce(FutureArg<1>(&error));
 
     AWAIT_READY(error);
-    EXPECT_EQ(error.get().message(),
+    EXPECT_EQ(error->message(),
               "Changing framework's principal is not allowed.");
 
     AWAIT_READY(disconnected);