mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 18:58:02 +08:00
Merge branch 'master' of https://github.com/goodrain/rainbond
This commit is contained in:
commit
796b510aea
@ -97,7 +97,7 @@ func (s *restartTask) RunError(e error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *restartTask) BeforeRun() {
|
func (s *restartTask) BeforeRun() {
|
||||||
s.taskManager.statusManager.SetStatus(s.modelTask.ServiceID, "stoping")
|
s.taskManager.statusManager.SetStatus(s.modelTask.ServiceID, status.UPGRADE)
|
||||||
label, err := db.GetManager().TenantServiceLabelDao().GetTenantServiceTypeLabel(s.modelTask.ServiceID)
|
label, err := db.GetManager().TenantServiceLabelDao().GetTenantServiceTypeLabel(s.modelTask.ServiceID)
|
||||||
if err == nil && label != nil {
|
if err == nil && label != nil {
|
||||||
if label.LabelValue == util.StatefulServiceType {
|
if label.LabelValue == util.StatefulServiceType {
|
||||||
|
Loading…
Reference in New Issue
Block a user