mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
delete project bugfix
This commit is contained in:
@@ -241,6 +241,7 @@ func (this *ProjectManagerV3) Delete(session *mcclient.ClientSession, id string,
|
||||
func (this *ProjectManagerV3) DeleteInContexts(session *mcclient.ClientSession, id string, body jsonutils.JSONObject, ctxs []ManagerContext) (jsonutils.JSONObject, error) {
|
||||
if ctxs == nil {
|
||||
p := jsonutils.NewDict()
|
||||
p.Add(jsonutils.JSONTrue, "admin")
|
||||
p.Add(jsonutils.NewString(id), "tenant")
|
||||
ret, e := Servers.List(session, p)
|
||||
if e != nil {
|
||||
|
||||
Reference in New Issue
Block a user