提交 f134453b 编写于 作者: Z zhukai 提交者: qiaozhanwei

[dolphinscheduler-#1399][bug]fix the wrong order (#1400)

The method onlineCreateResource in class ResourcesController,The logger.info has wrong field order with fileName and type. Just swap their order.
上级 b3a0e1fd
......@@ -314,7 +314,7 @@ public class ResourcesController extends BaseController{
) {
try{
logger.info("login user {}, online create resource! fileName : {}, type : {}, suffix : {},desc : {},content : {}",
loginUser.getUserName(),type,fileName,fileSuffix,description,content);
loginUser.getUserName(),fileName,type,fileSuffix,description,content);
if(StringUtils.isEmpty(content)){
logger.error("resource file contents are not allowed to be empty");
return error(Status.RESOURCE_FILE_IS_EMPTY.getCode(), RESOURCE_FILE_IS_EMPTY.getMsg());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册