ipfs-cluster/ipfsconn/ipfshttp
Hector Sanjuan 93e2cca49b Fix state deserialization
The pin objects now include an Origin field which was set to
multiaddr.Multiaddr.

This type is an interface and has no idea how to deserialize itself. As a
result, an state json export cannot be deseralized.

We had already added a wrapper Multiaddr type to handle these issues. I
believe this fix does not affect anything else other than fixing
UnmarshalJSON. PB types are deserialized by hand and it should not make a
difference.
2021-12-13 17:31:18 +01:00
..
config_test.go config: reduce default pin timeout to 2 minutes (#1160) 2020-07-01 12:36:25 +02:00
config.go config: reduce default pin timeout to 2 minutes (#1160) 2020-07-01 12:36:25 +02:00
ipfshttp_test.go Fix state deserialization 2021-12-13 17:31:18 +01:00
ipfshttp.go Informers: GetMetric() -> GetMetrics() 2021-09-15 20:07:37 +02:00