mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
[REV] update build version
This commit is contained in:
parent
c552e9b2fa
commit
05299d722b
@ -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)
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user