build: bump github.com/go-playground/validator/v10 from 10.15.1 to 10.15.3

And fix incorrect usage of `dive` (not needed for structs).
This commit is contained in:
Vincent Bernat
2023-09-08 21:01:44 +02:00
parent 3559956ec4
commit cabea987f5
5 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ type Configuration struct {
// Version is the version to display to the user.
Version string `yaml:"-"`
// DefaultVisualizeOptions define some defaults for the "visualize" tab.
DefaultVisualizeOptions VisualizeOptionsConfiguration `validate:"dive"`
DefaultVisualizeOptions VisualizeOptionsConfiguration
// HomepageTopWidgets defines the list of widgets to display on the home page.
HomepageTopWidgets []string `validate:"dive,oneof=src-as dst-as src-country dst-country exporter protocol etype src-port dst-port"`
// DimensionsLimit put an upper limit to the number of dimensions to return.