Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Config set fails for type int #881

Closed
@kernelwhisperer

Description

@kernelwhisperer
ipfs.config.set('Discovery.MDNS.Interval', 11, console.log)
ipfs.config.set('Discovery.MDNS.Interval', '11', console.log)

Both of these fail:

cannot unmarshal string into Go struct field MDNS.Interval of type int

Repro: https://github.com/0x6431346e/config-set-repro/blob/master/index.js

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions