Commit d4575296 authored by Aaron Jacobs's avatar Aaron Jacobs

Use a custom logging for interruptOp, to aid in debugging.

parent 96b8ce71
......@@ -20,6 +20,13 @@ import (
)
func describeRequest(op interface{}) (s string) {
// Handle special cases with custom formatting.
switch typed := op.(type) {
case *interruptOp:
s = fmt.Sprintf("interruptOp(fuseid=0x%08x)", typed.FuseID)
return
}
v := reflect.ValueOf(op).Elem()
t := v.Type()
......
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