Skip to content

refactor: add ProtoClone helper function to clone gRPC structs

Codecov / codecov/patch failed Sep 5, 2023 in 1s

40.00% of diff hit (target 47.94%)

View this Pull Request on Codecov

40.00% of diff hit (target 47.94%)

Annotations

Check warning on line 200 in pkg/evpn/bridge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/evpn/bridge.go#L200

Added line #L200 was not covered by tests

Check warning on line 121 in pkg/evpn/port.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/evpn/port.go#L121

Added line #L121 was not covered by tests

Check warning on line 228 in pkg/evpn/port.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/evpn/port.go#L228

Added line #L228 was not covered by tests

Check warning on line 135 in pkg/evpn/svi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/evpn/svi.go#L135

Added line #L135 was not covered by tests

Check warning on line 254 in pkg/evpn/svi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/evpn/svi.go#L254

Added line #L254 was not covered by tests

Check warning on line 276 in pkg/evpn/vrf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/evpn/vrf.go#L276

Added line #L276 was not covered by tests