aboutsummaryrefslogtreecommitdiff
path: root/zenserver/compute/apply.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/compute/apply.cpp')
-rw-r--r--zenserver/compute/apply.cpp59
1 files changed, 28 insertions, 31 deletions
diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp
index ddf7ad36c..d483fd4f7 100644
--- a/zenserver/compute/apply.cpp
+++ b/zenserver/compute/apply.cpp
@@ -4,33 +4,33 @@
#if ZEN_WITH_COMPUTE_SERVICES
-#include <upstream/jupiter.h>
-#include <upstream/upstreamapply.h>
-#include <zencore/compactbinary.h>
-#include <zencore/compactbinarybuilder.h>
-#include <zencore/compactbinarypackage.h>
-#include <zencore/compress.h>
-#include <zencore/except.h>
-#include <zencore/filesystem.h>
-#include <zencore/fmtutils.h>
-#include <zencore/iobuffer.h>
-#include <zencore/iohash.h>
-#include <zencore/scopeguard.h>
-#include <zenstore/cas.h>
-#include <zenstore/cidstore.h>
-
-#include <zencore/windows.h>
+# include <upstream/jupiter.h>
+# include <upstream/upstreamapply.h>
+# include <zencore/compactbinary.h>
+# include <zencore/compactbinarybuilder.h>
+# include <zencore/compactbinarypackage.h>
+# include <zencore/compress.h>
+# include <zencore/except.h>
+# include <zencore/filesystem.h>
+# include <zencore/fmtutils.h>
+# include <zencore/iobuffer.h>
+# include <zencore/iohash.h>
+# include <zencore/scopeguard.h>
+# include <zenstore/cas.h>
+# include <zenstore/cidstore.h>
+
+# include <zencore/windows.h>
ZEN_THIRD_PARTY_INCLUDES_START
-#include <AccCtrl.h>
-#include <AclAPI.h>
-#include <sddl.h>
-#include <UserEnv.h>
-#pragma comment(lib, "UserEnv.lib")
-#include <atlbase.h>
+# include <AccCtrl.h>
+# include <AclAPI.h>
+# include <UserEnv.h>
+# include <sddl.h>
+# pragma comment(lib, "UserEnv.lib")
+# include <atlbase.h>
ZEN_THIRD_PARTY_INCLUDES_END
-#include <filesystem>
-#include <span>
+# include <filesystem>
+# include <span>
using namespace std::literals;
@@ -485,8 +485,8 @@ HttpFunctionService::HttpFunctionService(CasStore& Store, CidStore& InCidStore,
}
break;
- default:
- break;
+ default:
+ break;
}
}
break;
@@ -927,10 +927,7 @@ HttpFunctionService::ExecActionUpstream(const WorkerDesc& Worker, CbObject Actio
if (!EnqueueResult.Success)
{
- ZEN_ERROR(
- "Error enqueuing upstream Action {}/{}",
- WorkerId.ToHexString(),
- ActionId.ToHexString());
+ ZEN_ERROR("Error enqueuing upstream Action {}/{}", WorkerId.ToHexString(), ActionId.ToHexString());
return HttpResponseCode::InternalServerError;
}
@@ -985,4 +982,4 @@ HttpFunctionService::ExecActionUpstreamResult(const IoHash& WorkerId, const IoHa
} // namespace zen
-#endif // ZEN_WITH_COMPUTE_SERVICES
+#endif // ZEN_WITH_COMPUTE_SERVICES