You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2017/02/08 21:58:10 UTC
mesos git commit: Fixed consistency in offer validation error
messages.
Repository: mesos
Updated Branches:
refs/heads/master 7a3df44eb -> 503a810c3
Fixed consistency in offer validation error messages.
Review: https://reviews.apache.org/r/56360/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/503a810c
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/503a810c
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/503a810c
Branch: refs/heads/master
Commit: 503a810c3dc68bacd393df1061a8281a0fab22aa
Parents: 7a3df44
Author: Jay Guo <gu...@gmail.com>
Authored: Wed Feb 8 13:57:56 2017 -0800
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Wed Feb 8 13:57:56 2017 -0800
----------------------------------------------------------------------
src/master/validation.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/503a810c/src/master/validation.cpp
----------------------------------------------------------------------
diff --git a/src/master/validation.cpp b/src/master/validation.cpp
index 37d1715..c34187d 100644
--- a/src/master/validation.cpp
+++ b/src/master/validation.cpp
@@ -1376,7 +1376,7 @@ Try<SlaveID> getSlaveId(Master* master, const OfferID& offerId)
return inverseOffer->slave_id();
}
- return Error("Offer id no longer valid");
+ return Error("Offer " + stringify(offerId) + " is no longer valid");
}
@@ -1393,7 +1393,7 @@ Try<FrameworkID> getFrameworkId(Master* master, const OfferID& offerId)
return inverseOffer->framework_id();
}
- return Error("Offer id no longer valid");
+ return Error("Offer " + stringify(offerId) + " is no longer valid");
}