Skip to content

Commit

Permalink
go-ipfs-config: nit: omit empty plugin values
Browse files Browse the repository at this point in the history
Let's try to slim down default configs a bit.
  • Loading branch information
Stebalien committed Aug 29, 2019
1 parent 1f6f939 commit 25e3e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ type Plugins struct {
}

type Plugin struct {
Disabled bool
Config interface{}
Disabled bool `json:",omitempty"`
Config interface{} `json:",omitempty"`
}

0 comments on commit 25e3e19

Please sign in to comment.