Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #44 from ipfs/nit/omitempty-plugin
Browse files Browse the repository at this point in the history
nit: omit empty plugin values
  • Loading branch information
Stebalien committed Aug 29, 2019
2 parents d03c246 + e0754a0 commit f573304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 f573304

Please sign in to comment.