Automatic merge from release/2.0.0 -> release/2.1.0

* commit '3774ae91700bc04b21440aaf9816d77b1a93e0e5':
  project删除bufix
This commit is contained in:
邱剑
2018-12-12 15:11:28 +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 {