mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* ifstate: fix decoding of json numbers When we read the static slots/plugs from the state we decode them as with the default json decoding. This leads to float64 instead of the expected int. This PR fixes it and adds tests. It also adds support in NormalizeInterfaceAttributes for json.Number.