mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #910 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-fix-unmarshal-nil to release/2.5.0
* commit 'd3d7d395f3c1230a86c0e8eef3621ef243dfb08c': 避免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