Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
state, filter: Always interpret interfaces names as strings
When an interface name can be interpreted as a numeric value (e.g. 123, 1.0, 0xfe), the generic nature of the yaml unmarshal is resulting with float64 values. Such values are wrongly represented back with the original text (e.g. 0xfe is represented back as 254). This has been fixed in a previous change for the filtering matching. This change is using the same to mark the interface name as a string, so it will also be correctly represented. Signed-off-by: Edward Haas <[email protected]>
- Loading branch information