mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-02 14:58:03 +08:00
go-ipfs-config: plugins: don't omit empty config values
Turns out the go-ipfs config logic really doesn't play well with this. Let's just keep them and avoid encoding empty values another way.
This commit is contained in:
parent
a05268861a
commit
f0b5fe9733
@ -1,11 +1,11 @@
|
||||
package config
|
||||
|
||||
type Plugins struct {
|
||||
Plugins map[string]Plugin `json:",omitempty"`
|
||||
Plugins map[string]Plugin
|
||||
// TODO: Loader Path? Leaving that out for now due to security concerns.
|
||||
}
|
||||
|
||||
type Plugin struct {
|
||||
Disabled bool `json:",omitempty"`
|
||||
Config interface{} `json:",omitempty"`
|
||||
Disabled bool
|
||||
Config interface{}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user