You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/11/09 07:44:17 UTC
[GitHub] [incubator-linkis] casionone commented on a diff in pull request #3803: [ISSUE-3798]Optimize DsmQueryProtocol
casionone commented on code in PR #3803:
URL: https://github.com/apache/incubator-linkis/pull/3803#discussion_r1017540976
##########
linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/main/scala/org/apache/linkis/datasourcemanager/core/receivers/DsmReceiver.scala:
##########
@@ -67,28 +67,47 @@ class DsmReceiver {
status = true,
dataSource.getDataSourceType.getName,
dataSource.getConnectParams,
- dataSource.getCreateUser
+ dataSource.getCreateUser,
+ ""
)
} else {
logger.warn("Can not get any dataSource")
- DsInfoResponse(status = true, "", new util.HashMap[String, Object](), "")
+ DsInfoResponse(
Review Comment:
batter to omit a parameter for a default value
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org