Repository: mesos
Updated Branches:
  refs/heads/master e796a0826 -> 0f7ad67da


Fixed a typo related to parsing offer operation uuid.


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

Branch: refs/heads/master
Commit: 0f7ad67da29f596681033873b7720f60e92d7434
Parents: e796a08
Author: Jie Yu <yujie....@gmail.com>
Authored: Mon Nov 6 15:48:01 2017 -0800
Committer: Jie Yu <yujie....@gmail.com>
Committed: Mon Nov 6 16:18:30 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/0f7ad67d/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 50f2592..ee212c1 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -7353,7 +7353,7 @@ void Master::offerOperationStatusUpdate(
     ? update.framework_id()
     : Option<FrameworkID>::none();
 
-  Try<UUID> uuid = UUID::fromString(update.operation_uuid());
+  Try<UUID> uuid = UUID::fromBytes(update.operation_uuid());
   if (uuid.isError()) {
     LOG(ERROR) << "Failed to parse offer operation UUID for operation "
                << "'" << update.status().operation_id() << "' for "

Reply via email to