Skip to content

Commit 5e058da

Browse files
authored
fix:错误提示信息中缺少部分数据源 (#945)
1 parent e0d31fd commit 5e058da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/datamesh/metaserver/service/domaindatasource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func parseDataSourceURI(sourceType string, info *datamesh.DataSourceInfo) (uri s
231231
}
232232
uri = info.Odps.Endpoint + "/" + info.Odps.Project
233233
default:
234-
err = fmt.Errorf("datasource type:%q not support, only support [localfs,oss,mysql,postgresql]", sourceType)
234+
err = fmt.Errorf("datasource type:%q not support, only support [localfs,oss,mysql,odps,postgresql,hive]", sourceType)
235235
nlog.Error(err)
236236
return
237237
}

pkg/kusciaapi/service/domaindata_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ func parseAndNormalizeDataSource(sourceType string, info *kusciaapi.DataSourceIn
660660
}
661661
uri = info.Odps.Endpoint + "/" + info.Odps.Project
662662
default:
663-
err = fmt.Errorf("datasource type:%q not support, only support [localfs,oss,mysql,odps,postgresql]", sourceType)
663+
err = fmt.Errorf("datasource type:%q not support, only support [localfs,oss,mysql,odps,postgresql,hive]", sourceType)
664664
nlog.Error(err)
665665
return
666666
}

0 commit comments

Comments
 (0)