Automatic merge from release/2.3.0 -> release/2.4.0

* commit '5e94bdded3422e217d0ac6803ccb26b6794eebf7':
  project删除bufix
This commit is contained in:
邱剑
2018-12-12 15:11:29 +08:00
+1
View File
@@ -242,6 +242,7 @@ func (this *ProjectManagerV3) DeleteInContexts(session *mcclient.ClientSession,
if ctxs == nil {
p := jsonutils.NewDict()
p.Add(jsonutils.JSONTrue, "admin")
p.Add(jsonutils.JSONTrue, "system")
p.Add(jsonutils.NewString(id), "tenant")
ret, e := Servers.List(session, p)
if e != nil {