mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #14108 from ioito/hotfix/qx-secgroup-create-time
fix(region): secgroup created time
This commit is contained in:
@@ -374,6 +374,9 @@ func (self *SSecurityGroupCache) SyncBaseInfo(ctx context.Context, userCred mccl
|
||||
if err == nil {
|
||||
self.ReferenceCount = len(references)
|
||||
}
|
||||
if createdAt := ext.GetCreatedAt(); !createdAt.IsZero() {
|
||||
self.CreatedAt = createdAt
|
||||
}
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user