copy more fields when extract chConf
Version/ModPolicy are ignored when extracting channel config and building
response. Fields initialized with default values.
@@ -381,6 +381,9 @@ func loadConfig(configItems *ChannelCfg, versionsGroup *common.ConfigGroup, grou
return nil
}
+ versionsGroup.Version = group.Version
+ versionsGroup.ModPolicy = group.ModPolicy
+
groups := group.GetGroups()
if groups != nil {
versionsGroup.Groups = make(map[string]*common.ConfigGroup)
