mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
[Bugfix]修复集群配置不写时,校验参数报错的问题
This commit is contained in:
@@ -144,7 +144,7 @@ const AccessClusters = (props: any): JSX.Element => {
|
|||||||
return Utils.post(api.kafkaValidator, {
|
return Utils.post(api.kafkaValidator, {
|
||||||
bootstrapServers: bootstrapServers || '',
|
bootstrapServers: bootstrapServers || '',
|
||||||
zookeeper: zookeeper || '',
|
zookeeper: zookeeper || '',
|
||||||
clientProperties,
|
clientProperties: clientProperties || {},
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
(res: {
|
(res: {
|
||||||
|
|||||||
Reference in New Issue
Block a user