mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): fix modelarts create task setStatus (#15456)
This commit is contained in:
@@ -82,7 +82,8 @@ func (self *ModelartsPoolCreateTask) OnInit(ctx context.Context, obj db.IStandal
|
||||
self.SetStageFailed(ctx, jsonutils.NewString(err.Error()))
|
||||
return
|
||||
}
|
||||
pool.SetStatus(self.GetUserCred(), api.MODELARTS_POOL_STATUS_RUNNING, "")
|
||||
|
||||
pool.SetStatus(self.GetUserCred(), ipool.GetStatus(), "")
|
||||
self.taskComplete(ctx, pool)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user