Repository: mesos
Updated Branches:
  refs/heads/master 91a6e5c7b -> eb42c9023


Improved the logging message when checkpointed resources file is not found.


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

Branch: refs/heads/master
Commit: eb42c90231d33e0ebb0b1011a2783dfd6d1ebdc4
Parents: 91a6e5c
Author: Jie Yu <[email protected]>
Authored: Tue Aug 25 17:22:15 2015 -0700
Committer: Jie Yu <[email protected]>
Committed: Tue Aug 25 17:22:15 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/eb42c902/src/slave/state.cpp
----------------------------------------------------------------------
diff --git a/src/slave/state.cpp b/src/slave/state.cpp
index f8a9514..47c66dc 100644
--- a/src/slave/state.cpp
+++ b/src/slave/state.cpp
@@ -687,7 +687,7 @@ Try<ResourcesState> ResourcesState::recover(
 
   const string& path = paths::getResourcesInfoPath(rootDir);
   if (!os::exists(path)) {
-    LOG(INFO) << "Failed to find resources file '" << path << "'";
+    LOG(INFO) << "No checkpointed resources found at '" << path << "'";
     return state;
   }
 

Reply via email to