update Function Cname When call AddConnConfig()

This commit is contained in:
aceld 2024-04-03 19:06:46 +08:00
parent 0c058d3f24
commit 0e0c669c92

View File

@ -83,6 +83,9 @@ func (fConf *KisFuncConfig) AddConnConfig(cConf *KisConnConfig) error {
// Connector需要和Function进行关联
_ = cConf.WithFunc(fConf)
// 更新Function配置中的CName
fConf.Option.CName = cConf.CName
return nil
}