Browse Source

[Bug Fix] Edit the note of existed datasource does't work. (#5642)

* Update DataSourceServiceImpl.java

* Update DataSourceServiceImpl.java
2.0.7-release
kyoty 3 years ago committed by GitHub
parent
commit
015ed7ffa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java

2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java

@ -164,7 +164,7 @@ public class DataSourceServiceImpl extends BaseServiceImpl implements DataSource
Date now = new Date();
dataSource.setName(dataSource.getName().trim());
dataSource.setNote(dataSource.getNote());
dataSource.setNote(dataSourceParam.getNote());
dataSource.setUserName(loginUser.getUserName());
dataSource.setType(dataSource.getType());
dataSource.setConnectionParams(JSONUtils.toJsonString(connectionParam));

Loading…
Cancel
Save