From f1cd629e2bd8e35336ec3a0a231bbd13b38fc5d5 Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Fri, 27 Sep 2019 11:39:28 -0400 Subject: [PATCH] pin ls returns the appropriate zero value if no pins are found. --- core/commands/pin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/pin.go b/core/commands/pin.go index 71cb4f349..22b41090b 100644 --- a/core/commands/pin.go +++ b/core/commands/pin.go @@ -403,7 +403,7 @@ type PinLsOutputWrapper struct { // PinLsList is a set of pins with their type type PinLsList struct { - Keys map[string]PinLsType `json:",omitempty"` + Keys map[string]PinLsType } // PinLsType contains the type of a pin