mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
Merge pull request #838 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-cloud-provider-account-name to release/2.4.0
* commit '186e048151c355b170d4fb2fa07c2a1485b00d2c': cloudprovider增加account的属性
This commit is contained in:
@@ -568,6 +568,10 @@ func (self *SCloudprovider) getMoreDetails(ctx context.Context, extra *jsonutils
|
||||
if project != nil {
|
||||
extra.Add(jsonutils.NewString(project.Name), "tenant")
|
||||
}
|
||||
account := self.GetCloudaccount()
|
||||
if account != nil {
|
||||
extra.Add(jsonutils.NewString(account.GetName()), "account")
|
||||
}
|
||||
return extra
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user