mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: fix linting issues introduced by latest revive release
This commit is contained in:
@@ -160,6 +160,7 @@ func SubnetMapUnmarshallerHook[V any]() mapstructure.DecodeHookFunc {
|
||||
}
|
||||
}
|
||||
|
||||
// MarshalYAML turns a subnet into a map that can be marshaled.
|
||||
func (sm SubnetMap[V]) MarshalYAML() (interface{}, error) {
|
||||
return sm.ToMap(), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user