pin ls returns the appropriate zero value if no pins are found.
Adin Schmahmann committed
Sep 27, 2019 at 11:39 UTC
f1cd629e2bd8e35336ec3a0a231bbd13b38fc5d5
1 file changed
+1
-1
core/commands/pin.go
+1
-1
@@ -403,7 +403,7 @@ type PinLsOutputWrapper struct {
403
404
// PinLsList is a set of pins with their type
405
type PinLsList struct {
406
- Keys map[string]PinLsType `json:",omitempty"`
406
+ Keys map[string]PinLsType
407
}
408
409
// PinLsType contains the type of a pin