[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.
This commit is contained in:
zhukai 2019-12-05 17:04:54 +08:00 committed by qiaozhanwei
parent b3a0e1fd14
commit f134453bb8

View File

@ -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());