From 91c358179a5bfdd598f1553102ef23504b636e81 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 29 Aug 2019 10:25:35 -0700 Subject: [PATCH] go-ipfs-config: nit: omit empty plugin values Let's try to slim down default configs a bit. --- config/plugins.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/plugins.go b/config/plugins.go index 004f5468f749..c9b148049a1f 100644 --- a/config/plugins.go +++ b/config/plugins.go @@ -6,6 +6,6 @@ type Plugins struct { } type Plugin struct { - Disabled bool - Config interface{} + Disabled bool `json:",omitempty"` + Config interface{} `json:",omitempty"` }