mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-04 13:27:14 +08:00
commands: Removed inpout stream from Request
This commit is contained in:

committed by
Juan Batiz-Benet

parent
26c2164c35
commit
6bab1f47fb
@ -124,7 +124,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getOptions(req cmds.Request, root *cmds.Command) (cmds.Request, error) {
|
func getOptions(req cmds.Request, root *cmds.Command) (cmds.Request, error) {
|
||||||
tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil, nil)
|
tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil)
|
||||||
|
|
||||||
options, err := root.GetOptions(tempReq.Path())
|
options, err := root.GetOptions(tempReq.Path())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user