@cryptotaxi247 / kubo / commits / 9d299636a

object put: Made output (almost) match original output (The file path is omitted, but since only one object can be added at a time, I think this is ok)

object put: Made output (almost) match original output (The file path is omitted, but since only one object can be added at a time, I think this is ok)

Matt Bell committed Nov 14, 2014 at 00:24 UTC 9d299636ad6752e6fcf1794ff391c6bcc7cef831
1 file changed +1 -1
core/commands2/object.go
+1 -1
@@ -224,7 +224,7 @@ Data should be in the format specified by <encoding>.
224 Marshalers: cmds.MarshalerMap{
225 cmds.Text: func(res cmds.Response) ([]byte, error) {
226 object := res.Output().(*Object)
227 - return []byte(object.Hash), nil
227 + return []byte("added " + object.Hash), nil
228 },
229 },
230 Type: &Object{},