From 154f85d3e70ebd03dd9722325730d27755771cdc Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 24 Apr 2025 10:13:06 +0300 Subject: [PATCH] chore(snix/castore-go): use any instead of interface{} Address a lint. Change-Id: I72a740943327d50186e0a1d1b9c42a150aa21dd1 Reviewed-on: https://cl.snix.dev/c/snix/+/30336 Autosubmit: Florian Klink Tested-by: besadii Reviewed-by: Ilan Joselevich --- snix/castore-go/castore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snix/castore-go/castore.go b/snix/castore-go/castore.go index ef6e64bd5..5823b3104 100644 --- a/snix/castore-go/castore.go +++ b/snix/castore-go/castore.go @@ -121,7 +121,7 @@ func (n *Entry) Validate() error { func (d *Directory) Validate() error { // seenNames contains all seen names so far. // We populate this to ensure node names are unique across all three lists. - seenNames := make(map[string]interface{}) + seenNames := make(map[string]any) // We also track the last seen name in each of the three lists, // to ensure nodes are sorted by their names.