From dfe82f516ffae72f0b03654735e3cff609fdd03c Mon Sep 17 00:00:00 2001 From: logresearch Date: Wed, 24 Jul 2024 20:24:30 +0800 Subject: [PATCH] Update RESTFacadeImpl.java --- core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java b/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java index eb9944380b1..9f95c524bfd 100755 --- a/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java +++ b/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java @@ -205,7 +205,7 @@ void sendCommand(HttpServletRequest req, HttpServletResponse rsp) { HttpEntity entity = this.httpServletRequestToHttpEntity(req); if (commandPath == null) { rsp.sendError(HttpStatus.SC_BAD_REQUEST, "No 'commandPath' found in the header"); - logger.warn(String.format("Received a command, but no 'taskUuid' found in headers. request body: %s", entity.getBody())); + logger.warn(String.format("Received a command, but no 'commandPath' found in headers. request body: %s", entity.getBody())); return; }