mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
chore: fix many staticcheck warnings
The most important ones were fixed in the two previous commit.
This commit is contained in:
@@ -72,7 +72,7 @@ func isListen(fl validator.FieldLevel) bool {
|
||||
// (both fields should be a slice)
|
||||
func noIntersectField(fl validator.FieldLevel) bool {
|
||||
field := fl.Field()
|
||||
currentField, _, ok := fl.GetStructFieldOK()
|
||||
currentField, _, _, ok := fl.GetStructFieldOK2()
|
||||
if !ok {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user