mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
ipfs block stat bugfix: cast
This commit is contained in:
parent
ce7ad2e26d
commit
8307572777
@ -224,7 +224,7 @@ var objectStatCmd = &cmds.Command{
|
||||
Type: dag.NodeStat{},
|
||||
Marshalers: cmds.MarshalerMap{
|
||||
cmds.Text: func(res cmds.Response) (io.Reader, error) {
|
||||
ns := res.Output().(dag.NodeStat)
|
||||
ns := res.Output().(*dag.NodeStat)
|
||||
|
||||
var buf bytes.Buffer
|
||||
w := func(s string, n int) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user