mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 05:09:48 +08:00
[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:
parent
b3a0e1fd14
commit
f134453bb8
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user