You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/10/11 05:42:56 UTC

[mesos] 01/04: Fixed protobuf map equality check in the URI disk profile adaptor.

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

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

commit a06c12ebb9bf77c99bd87727206e4a02cee04d09
Author: Chun-Hung Hsiao <ch...@umich.edu>
AuthorDate: Wed Oct 10 22:14:52 2018 -0700

    Fixed protobuf map equality check in the URI disk profile adaptor.
    
    Review: https://reviews.apache.org/r/68987
---
 src/resource_provider/storage/uri_disk_profile_adaptor.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/resource_provider/storage/uri_disk_profile_adaptor.cpp b/src/resource_provider/storage/uri_disk_profile_adaptor.cpp
index d214af8..6c998ef 100644
--- a/src/resource_provider/storage/uri_disk_profile_adaptor.cpp
+++ b/src/resource_provider/storage/uri_disk_profile_adaptor.cpp
@@ -74,6 +74,8 @@ bool operator==(
     if (iterator->second != right.at(iterator->first)) {
       return false;
     }
+
+    ++iterator;
   }
 
   return true;