Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#44 from ipfs/nit/omitempty-pl…
Browse files Browse the repository at this point in the history
…ugin

nit: omit empty plugin values
  • Loading branch information
Stebalien authored Aug 29, 2019
2 parents b6adc2d + 91c3581 commit 49709aa
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 49709aa

Please sign in to comment.