You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/08/25 18:45:34 UTC
[8/8] mesos git commit: A few consistency fix on indentation.
A few consistency fix on indentation.
Review: https://reviews.apache.org/r/51415
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1bd974b0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1bd974b0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1bd974b0
Branch: refs/heads/master
Commit: 1bd974b0f69584d961826b2c53b8780d67c569ee
Parents: a910aba
Author: Jie Yu <yu...@gmail.com>
Authored: Wed Aug 24 20:30:22 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Aug 25 11:45:23 2016 -0700
----------------------------------------------------------------------
src/slave/containerizer/mesos/containerizer.cpp | 32 +++++++++++---------
1 file changed, 17 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/1bd974b0/src/slave/containerizer/mesos/containerizer.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/containerizer.cpp b/src/slave/containerizer/mesos/containerizer.cpp
index ccc66c7..f72d734 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -447,7 +447,9 @@ MesosContainerizer::~MesosContainerizer()
Future<Nothing> MesosContainerizer::recover(
const Option<state::SlaveState>& state)
{
- return dispatch(process.get(), &MesosContainerizerProcess::recover, state);
+ return dispatch(process.get(),
+ &MesosContainerizerProcess::recover,
+ state);
}
@@ -521,42 +523,42 @@ Future<Nothing> MesosContainerizer::update(
Future<ResourceStatistics> MesosContainerizer::usage(
const ContainerID& containerId)
{
- return dispatch(
- process.get(),
- &MesosContainerizerProcess::usage,
- containerId);
+ return dispatch(process.get(),
+ &MesosContainerizerProcess::usage,
+ containerId);
}
Future<ContainerStatus> MesosContainerizer::status(
const ContainerID& containerId)
{
- return dispatch(
- process.get(),
- &MesosContainerizerProcess::status,
- containerId);
+ return dispatch(process.get(),
+ &MesosContainerizerProcess::status,
+ containerId);
}
Future<ContainerTermination> MesosContainerizer::wait(
const ContainerID& containerId)
{
- return dispatch(process.get(), &MesosContainerizerProcess::wait, containerId);
+ return dispatch(process.get(),
+ &MesosContainerizerProcess::wait,
+ containerId);
}
void MesosContainerizer::destroy(const ContainerID& containerId)
{
- dispatch(
- process.get(),
- &MesosContainerizerProcess::destroy,
- containerId);
+ dispatch(process.get(),
+ &MesosContainerizerProcess::destroy,
+ containerId);
}
Future<hashset<ContainerID>> MesosContainerizer::containers()
{
- return dispatch(process.get(), &MesosContainerizerProcess::containers);
+ return dispatch(process.get(),
+ &MesosContainerizerProcess::containers);
}