mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-03 17:31:13 +01:00
[management] copy destination and source resource on policyRUle copy (#3235)
This commit is contained in:
parent
a32ec97911
commit
7335c82553
@ -73,7 +73,9 @@ func (pm *PolicyRule) Copy() *PolicyRule {
|
||||
Enabled: pm.Enabled,
|
||||
Action: pm.Action,
|
||||
Destinations: make([]string, len(pm.Destinations)),
|
||||
DestinationResource: pm.DestinationResource,
|
||||
Sources: make([]string, len(pm.Sources)),
|
||||
SourceResource: pm.SourceResource,
|
||||
Bidirectional: pm.Bidirectional,
|
||||
Protocol: pm.Protocol,
|
||||
Ports: make([]string, len(pm.Ports)),
|
||||
|
Loading…
Reference in New Issue
Block a user