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 5791b35e4 [cgroups2] Remove accidental tabs.
5791b35e4 is described below

commit 5791b35e497f51ddbf037db925389bf08c83e81c
Author: Benjamin Mahler <[email protected]>
AuthorDate: Thu Jul 11 15:56:32 2024 -0400

    [cgroups2] Remove accidental tabs.
---
 src/linux/cgroups2.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/linux/cgroups2.cpp b/src/linux/cgroups2.cpp
index faf3a5853..133eec1b2 100644
--- a/src/linux/cgroups2.cpp
+++ b/src/linux/cgroups2.cpp
@@ -1167,7 +1167,7 @@ public:
   // +-------------------------------------------------------------+
   static Try<ebpf::Program> build(
       const vector<Entry>& allow,
-         const vector<Entry>& deny)
+      const vector<Entry>& deny)
   {
     // The BPF_PROG_TYPE_CGROUP_DEVICE program takes in
     // `struct bpf_cgroup_dev_ctx*` as input. We extract the fields into
@@ -1291,7 +1291,7 @@ public:
 private:
   static vector<bpf_insn> add_device_checks(
       const Entry& entry,
-         short trailer_length)
+      short trailer_length)
   {
     // We create a block of bytecode with the format:
     // 1. Major Version Check
@@ -1326,7 +1326,7 @@ private:
 
     auto check_access_instructions =
       [](short jmp_size, const Entry::Access& access)
-       {
+    {
       int bpf_access = 0;
       bpf_access |= access.read ? BPF_DEVCG_ACC_READ : 0;
       bpf_access |= access.write ? BPF_DEVCG_ACC_WRITE : 0;

Reply via email to