fix: 解决防火墙偶发的修改备注信息失败的问题 (#2292)

pull/2305/head
ssongliu 1 year ago committed by GitHub
parent 3bcb5800a2
commit 08f0147d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -267,6 +267,7 @@ func (u *FirewallService) OperatePortRule(req dto.PortRuleOperate, reload bool)
_ = u.addPortRecord(req)
}(req)
}
wg.Wait()
return nil
}
@ -343,6 +344,7 @@ func (u *FirewallService) OperateAddressRule(req dto.AddrRuleOperate, reload boo
_ = u.addAddressRecord(req)
}(req)
}
wg.Wait()
if reload {
return client.Reload()
}

Loading…
Cancel
Save