From 2a0af78f9d9ecdcf253fe351cbc3db7a102f7f83 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 13 Sep 2018 10:57:43 -0700 Subject: [PATCH] fix output of object command We're expecting a pointer, not a value. This works in daemon mode but not in offline mode. fixes #5458 License: MIT Signed-off-by: Steven Allen --- core/commands/object/object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/object/object.go b/core/commands/object/object.go index 36e274ee1..e40bc5ddc 100644 --- a/core/commands/object/object.go +++ b/core/commands/object/object.go @@ -160,7 +160,7 @@ multihash. } } - out := Object{ + out := &Object{ Hash: rp.Cid().String(), Links: outLinks, }