Commit f650aab1 authored by Aaron Jacobs's avatar Aaron Jacobs

Updated fuseops.Convert.

parent 41f376af
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
package fuseops package fuseops
import ( import (
"log"
"time" "time"
"golang.org/x/net/context" "golang.org/x/net/context"
...@@ -35,6 +36,7 @@ func Convert( ...@@ -35,6 +36,7 @@ func Convert(
opCtx context.Context, opCtx context.Context,
r bazilfuse.Request, r bazilfuse.Request,
debugLogForOp func(int, string, ...interface{}), debugLogForOp func(int, string, ...interface{}),
errorLogger *log.Logger,
finished func(error)) (o Op) { finished func(error)) (o Op) {
var co *commonOp var co *commonOp
...@@ -239,7 +241,13 @@ func Convert( ...@@ -239,7 +241,13 @@ func Convert(
co = &to.commonOp co = &to.commonOp
} }
co.init(opCtx, io, r, debugLogForOp, finished) co.init(
opCtx,
io,
r,
debugLogForOp,
errorLogger,
finished)
o = io o = io
return return
......
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