mirror of
https://github.com/Icinga/icingadb.git
synced 2026-02-19 02:28:28 -05:00
For YAML decoding, the yaml.InterfaceUnmarshaler interface needs to be implemented. To not mix value and pointer receiving methods for RetentionOptions, the signature of Validate was updated. It is important to set the internally type to map[string]uint16 instead of RetentionOptions, as otherwise the method would be called in an endless loop until the stack is full. |
||
|---|---|---|
| .. | ||
| common | ||
| contracts | ||
| icingadb | ||
| icingaredis | ||