luojunhui hace 1 semana
padre
commit
ebaf13aebd
Se han modificado 1 ficheros con 1 adiciones y 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)),