Commit 9d299636 authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

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)
parent fceb55ef
......@@ -224,7 +224,7 @@ Data should be in the format specified by <encoding>.
Marshalers: cmds.MarshalerMap{
cmds.Text: func(res cmds.Response) ([]byte, error) {
object := res.Output().(*Object)
return []byte(object.Hash), nil
return []byte("added " + object.Hash), nil
},
},
Type: &Object{},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment