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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8dd469b53 [cgroups2] Fix multi-line comment compilation warning.
8dd469b53 is described below

commit 8dd469b5336073763654a281fe852118d131be4b
Author: Benjamin Mahler <[email protected]>
AuthorDate: Tue Jun 11 00:44:51 2024 -0400

    [cgroups2] Fix multi-line comment compilation warning.
    
    This fixes a compilation warning due to the comment line ending with
    a backslash character.
---
 src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.hpp | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.hpp 
b/src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.hpp
index e193f3f1f..d60215ec1 100644
--- a/src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.hpp
+++ b/src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.hpp
@@ -46,11 +46,12 @@ namespace slave {
 // 
https://docs.kernel.org/admin-guide/cgroup-v2.html#no-internal-process-constraint
 // NOLINT
 //
 // Example cgroups:
-//     containerA                       non-leaf cgroup
-//     /      \                         /            \
-// processes  containerB           leaf cgroup   non-leaf child cgroup
-//             |                                      |
-//            processes                          leaf-cgroup
+//
+//       containerA                       non-leaf cgroup
+//       /      \                         /             |
+//   processes  containerB           leaf cgroup   non-leaf child cgroup
+//               |                                      |
+//              processes                          leaf-cgroup
 //
 // TODO(dleamy): Nested containers are not yet supported.
 class Cgroups2IsolatorProcess : public MesosIsolatorProcess

Reply via email to