feat(thoth): make ASNChecker instances

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-05-21 15:51:11 -04:00
parent 86ad85909c
commit 4aea22fac5
3 changed files with 22 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ func TestASNChecker(t *testing.T) {
asnc := &ASNChecker{
iptoasn: cli.iptoasn,
asns: map[int]struct{}{
asns: map[uint32]struct{}{
13335: {},
},
hash: "foobar",