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 <flokli@flokli.de> Tested-by: besadii Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
parent
f630ce9b93
commit
154f85d3e7
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ func (n *Entry) Validate() error {
|
||||||
func (d *Directory) Validate() error {
|
func (d *Directory) Validate() error {
|
||||||
// seenNames contains all seen names so far.
|
// seenNames contains all seen names so far.
|
||||||
// We populate this to ensure node names are unique across all three lists.
|
// 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,
|
// We also track the last seen name in each of the three lists,
|
||||||
// to ensure nodes are sorted by their names.
|
// to ensure nodes are sorted by their names.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue