fix fmt.Errorf error

missing argument for Errorf("%q"): format reads arg 1, have only 0 args
This commit is contained in:
nobody 2016-12-14 18:57:12 +08:00 committed by GitHub
parent d42b1aefd3
commit d069c0805e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}