Merge pull request #20 from aceld/feature/aceld

update Function Cname When call AddConnConfig()
This commit is contained in:
刘丹冰 2024-04-03 19:08:23 +08:00 committed by GitHub
commit 8efacb6301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}