fix fmt.Errorf error
missing argument for Errorf("%q"): format reads arg 1, have only 0 args
This commit is contained in:
parent
d42b1aefd3
commit
d069c0805e
|
@ -53,7 +53,7 @@ func (s *Session) Apply(args *structs.SessionRequest, reply *string) error {
|
|||
}
|
||||
|
||||
default:
|
||||
return fmt.Errorf("Invalid session operation %q, args.Op")
|
||||
return fmt.Errorf("Invalid session operation %q", args.Op)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue