Skip to content

Commit

Permalink
Sean debugging
Browse files Browse the repository at this point in the history
TODO
  • Loading branch information
Sean-Der committed Apr 4, 2024
1 parent 85b7d47 commit 3afdac0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/allocation/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
package allocation

import (
"fmt"
"net"
"sync"
"sync/atomic"
Expand Down Expand Up @@ -86,6 +87,8 @@ func (a *Allocation) AddPermission(p *Permission) {

// RemovePermission removes the net.Addr's fingerprint from the allocation's permissions
func (a *Allocation) RemovePermission(addr net.Addr) {
fmt.Println(a, addr)

Check failure on line 90 in internal/allocation/allocation.go

View workflow job for this annotation

GitHub Actions / lint / Go

use of `fmt.Println` forbidden by pattern `^fmt.Print(f|ln)?$` (forbidigo)

a.permissionsLock.Lock()
defer a.permissionsLock.Unlock()
delete(a.permissions, ipnet.FingerprintAddr(addr))
Expand Down

0 comments on commit 3afdac0

Please sign in to comment.