mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user