[REV] update build version

This commit is contained in:
barnett 2018-11-20 11:04:13 +08:00
parent c552e9b2fa
commit 05299d722b
2 changed files with 2 additions and 7 deletions

View File

@ -6,7 +6,7 @@ WORK_DIR=/go/src/github.com/goodrain/rainbond
BASE_NAME=rainbond
GO_VERSION=1.11
VERSION=3.7.2
VERSION=5.0
buildTime=$(date +%F-%H)
git_commit=$(git log -n 1 --pretty --format=%h)

View File

@ -150,12 +150,6 @@ func (a *AppService) GetDeployment() *v1.Deployment {
//SetDeployment set kubernetes deployment model
func (a *AppService) SetDeployment(d *v1.Deployment) {
logrus.Debugf("cache deployment %s to app service %s", d.Name, a.ServiceAlias)
if a.deployment != nil {
//There can only be one resource
if a.deployment.Name != d.Name {
}
}
a.deployment = d
}
@ -171,6 +165,7 @@ func (a *AppService) GetStatefulSet() *v1.StatefulSet {
//SetStatefulSet set kubernetes statefulset model
func (a *AppService) SetStatefulSet(d *v1.StatefulSet) {
logrus.Debugf("cache statefulset %s to app service %s", d.Name, a.ServiceAlias)
a.statefulset = d
}