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 8c4bdd337 Fix brace style in cgroups2.cpp.
8c4bdd337 is described below
commit 8c4bdd337af547b9c79f2d6f17a6965c40797132
Author: Benjamin Mahler <[email protected]>
AuthorDate: Tue Feb 27 13:08:54 2024 -0500
Fix brace style in cgroups2.cpp.
---
src/linux/cgroups2.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/linux/cgroups2.cpp b/src/linux/cgroups2.cpp
index 6beb8dd2c..baa13557e 100644
--- a/src/linux/cgroups2.cpp
+++ b/src/linux/cgroups2.cpp
@@ -28,7 +28,8 @@ namespace cgroups2 {
// Name of the cgroupv2 filesystem as found in /proc/filesystems.
const string FILE_SYSTEM = "cgroup2";
-bool enabled() {
+bool enabled()
+{
Try<bool> supported = mesos::internal::fs::supported(cgroups2::FILE_SYSTEM);
return supported.isSome() && *supported;
}