mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'ab97a01b9ccaaa1b2af46fd9bc744e256ccea69e': log日志记录external_id
This commit is contained in:
@@ -131,6 +131,9 @@ func (model *SStandaloneResourceBase) GetShortDesc(ctx context.Context) *jsonuti
|
||||
desc := model.SResourceBase.GetShortDesc(ctx)
|
||||
desc.Add(jsonutils.NewString(model.GetName()), "name")
|
||||
desc.Add(jsonutils.NewString(model.GetId()), "id")
|
||||
if len(model.ExternalId) > 0 {
|
||||
desc.Add(jsonutils.NewString(model.ExternalId), "external_id")
|
||||
}
|
||||
return desc
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user