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 019ec1ac7 Fix compilation error when cgroups v2 is not being compiled.
019ec1ac7 is described below
commit 019ec1ac74f5e8aef7efbb8adf9d5c5036f116e1
Author: Devin Leamy <[email protected]>
AuthorDate: Thu Apr 25 12:10:18 2024 -0400
Fix compilation error when cgroups v2 is not being compiled.
This closes #575
---
src/slave/containerizer/mesos/linux_launcher.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/slave/containerizer/mesos/linux_launcher.cpp
b/src/slave/containerizer/mesos/linux_launcher.cpp
index cbc883bd1..7682a561a 100644
--- a/src/slave/containerizer/mesos/linux_launcher.cpp
+++ b/src/slave/containerizer/mesos/linux_launcher.cpp
@@ -786,7 +786,7 @@ Future<Nothing> LinuxLauncherProcess::destroyCgroups2(
return cgroups2::destroy(cgroup);
#else
- return Error("cgroups2 is not enabled");
+ return Failure("cgroups2 is not enabled");
#endif // ENABLE_CGROUPS_V2
}