mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 00:38:08 +08:00
Merge pull request #8023 from ipfs/fix/pins-null
fix: omit empty pins slice when reporting pin progress
This commit is contained in:
commit
c1a0eb567a
@ -44,8 +44,8 @@ type PinOutput struct {
|
||||
}
|
||||
|
||||
type AddPinOutput struct {
|
||||
Pins []string
|
||||
Progress int `json:",omitempty"`
|
||||
Pins []string `json:",omitempty"`
|
||||
Progress int `json:",omitempty"`
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user