Skip to content

Commit 6cdf841

Browse files
committed
update
Signed-off-by: Wenqi Qiu <wenqi.qiu@broadcom.com>
1 parent e4ae20e commit 6cdf841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/nsx/services/securitypolicy/builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ func (service *SecurityPolicyService) buildRuleOutGroup(obj *v1alpha1.SecurityPo
624624
if len(nsxRule.DestinationGroups) > 0 {
625625
nsxRuleDstGroupPath = nsxRule.DestinationGroups[0]
626626
} else {
627-
destionations := getRuleDestinationPeers(rule)
628-
if len(destionations) > 0 {
627+
destinations := getRuleDestinationPeers(rule)
628+
if len(destinations) > 0 {
629629
nsxRuleDstGroup, nsxRuleDstGroupPath, nsxGroupShare, err = service.buildRulePeerGroup(obj, rule, ruleIdx, ruleBaseID, false, createdFor, vpcInfo, isDefaultProject)
630630
if err != nil {
631631
return nil, "", "", nil, err

0 commit comments

Comments
 (0)