mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-28 05:47:51 +08:00
commands: Gave Requests a reference to the command they are being called on
This commit is contained in:
parent
be3cb39ed5
commit
b3ff407d38
@ -125,7 +125,7 @@ func main() {
|
||||
}
|
||||
|
||||
func getOptions(req cmds.Request, root *cmds.Command) (cmds.Request, error) {
|
||||
tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil)
|
||||
tempReq := cmds.NewRequest(req.Path(), req.Options(), nil, nil, nil)
|
||||
|
||||
options, err := root.GetOptions(tempReq.Path())
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user