mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
避免unmarshal nil
This commit is contained in:
@@ -319,7 +319,7 @@ func (acl *SLoadbalancerAcl) SyncWithCloudLoadbalancerAcl(ctx context.Context, u
|
||||
if projectSync && len(projectId) > 0 {
|
||||
acl.ProjectId = projectId
|
||||
}
|
||||
|
||||
acl.AclEntries = &SLoadbalancerAclEntries{}
|
||||
return aclEntries.Unmarshal(acl.AclEntries)
|
||||
})
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user