Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Litvinov <[email protected]>
  • Loading branch information
Zensey committed Apr 30, 2024
1 parent a8ebd92 commit 4dc87cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion services/wireguard/connection/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ func (mce *mockConnectionEndpoint) ConfigureRoutes(_ net.IP) error { retur
func (mce *mockConnectionEndpoint) PeerStats() (wgcfg.Stats, error) {
return wgcfg.Stats{LastHandshake: time.Now(), BytesSent: 10, BytesReceived: 11}, nil
}
func (mce *mockConnectionEndpoint) ReleaseIP(ip net.IPNet) {}

type mockHandshakeWaiter struct {
err error
Expand Down
1 change: 0 additions & 1 deletion services/wireguard/service/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ func (mce *mockConnectionEndpoint) ConfigureRoutes(_ net.IP) error { retur
func (mce *mockConnectionEndpoint) PeerStats() (wgcfg.Stats, error) {
return wgcfg.Stats{LastHandshake: time.Now()}, nil
}
func (mce *mockConnectionEndpoint) ReleaseIP(ip net.IPNet) {}

func newManagerStub(pub, out, country string) *Manager {
dnsHandler, _ := dns.ResolveViaSystem()
Expand Down

0 comments on commit 4dc87cb

Please sign in to comment.