Merge branch 'release-3.4.1' of https://github.com/goodrain/rainbond into release-3.4.1

This commit is contained in:
Bay 2017-12-29 14:24:37 +08:00
commit 87ca1b0397
2 changed files with 4 additions and 3 deletions

View File

@ -1297,8 +1297,9 @@ func (t *TenantStruct) deletePortController(w http.ResponseWriter, r *http.Reque
return
}
var port = &api_model.TenantServicesPort{
TenantID: tenantID,
ServiceID: serviceID,
TenantID: tenantID,
ServiceID: serviceID,
ContainerPort: oldPort,
}
var ports api_model.ServicePorts
ports.Port = append(ports.Port, port)

View File

@ -80,7 +80,7 @@ type PodInfo struct {
const (
VSPoolExpString string = "(.*)[@|_](.*)_([0-9]*)\\.[Pool|VS]"
NodeExpString string = "(.*)_([0-9]*)\\.Node"
DomainAPIURI string = "http://127.0.0.1:%s/tenants/%s/services/%s/domains"
DomainAPIURI string = "http://127.0.0.1:%s/v2/tenants/%s/services/%s/domains"
)
func (s *SourceBranch) RePoolName() string {