Skip to content

Commit

Permalink
修复多磁盘配置参数检查问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yangbinbin authored and YenchangChan committed Feb 8, 2023
1 parent aad1f9f commit 3948db5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/clickhouse.go
Expand Up @@ -2060,6 +2060,7 @@ func (ck *ClickHouseController) DeleteQuery(c *gin.Context) {

func checkConfigParams(conf *model.CKManClickHouseConfig) error {
con, err := repository.Ps.GetClusterbyName(conf.Cluster)
conf.UnPack(con)
if err != nil {
return errors.Errorf("cluster %s is not exist", conf.Cluster)
}
Expand Down

0 comments on commit 3948db5

Please sign in to comment.