luojunhui hai 1 semana
pai
achega
ebaf13aebd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      supply/server/xxl_endpoints.py

+ 1 - 1
supply/server/xxl_endpoints.py

@@ -63,7 +63,7 @@ def create_xxl_bp() -> Blueprint:
         body = await _parse_body()
         trigger_params = {
             "jobId": int(body.get("jobId", 0)),
-            "executorHandler": body.get("executorHandler", ""),
+            "executorHandler": body.get("executorHandler", "").strip(),
             "executorParams": body.get("executorParams", ""),
             "executorBlockStrategy": body.get("executorBlockStrategy", ""),
             "executorTimeout": int(body.get("executorTimeout", 0)),