自动创建默认集群

This commit is contained in:
GoEdgeLab
2020-10-14 18:44:34 +08:00
parent 59046aae19
commit 965efed323
4 changed files with 57 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ func (this *Setup) Run() error {
httpConfig.IsOn = true
httpConfig.Listen = []*serverconfigs.NetworkAddressConfig{
{
Protocol: "https",
PortRange: strconv.Itoa(this.config.APINodePort),
},
}
@@ -148,6 +149,7 @@ func (this *Setup) Run() error {
httpsConfig.IsOn = true
httpsConfig.Listen = []*serverconfigs.NetworkAddressConfig{
{
Protocol: "https",
PortRange: strconv.Itoa(this.config.APINodePort),
},
}