mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-11-04 05:22:40 +08:00
fix: set secgroup status
This commit is contained in:
@@ -981,6 +981,7 @@ func (manager *SSecurityGroupManager) newFromCloudSecgroup(ctx context.Context,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
secgroup.Status = api.SECGROUP_STATUS_READY
|
||||
secgroup.Description = extSec.GetDescription()
|
||||
secgroup.ProjectId = provider.ProjectId
|
||||
secgroup.DomainId = provider.DomainId
|
||||
|
||||
Reference in New Issue
Block a user