mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
[FIX] fix upgrade event as asyn event type
This commit is contained in:
parent
3cad75b5b0
commit
496a63bbda
@ -147,7 +147,7 @@ func (v2 *V2) serviceRouter() chi.Router {
|
||||
r.Get("/", controller.GetManager().SingleServiceInfo)
|
||||
r.Delete("/", middleware.WrapEL(controller.GetManager().SingleServiceInfo, dbmodel.TargetTypeService, "delete-service", dbmodel.SYNEVENTTYPE))
|
||||
//应用升级(act)
|
||||
r.Post("/upgrade", middleware.WrapEL(controller.GetManager().UpgradeService, dbmodel.TargetTypeService, "upgrade-service", dbmodel.SYNEVENTTYPE))
|
||||
r.Post("/upgrade", middleware.WrapEL(controller.GetManager().UpgradeService, dbmodel.TargetTypeService, "upgrade-service", dbmodel.ASYNEVENTTYPE))
|
||||
//应用状态获取(act)
|
||||
r.Get("/status", controller.GetManager().StatusService)
|
||||
//构建版本列表
|
||||
|
Loading…
Reference in New Issue
Block a user