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 1f6f939 + 25e3e19 commit 356880a
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 356880a

Please sign in to comment.