fix fmt.Errorf error

missing argument for Errorf("%q"): format reads arg 1, have only 0 args
pull/2595/head
nobody 8 years ago committed by GitHub
parent 769a872b71
commit 5beda4d5bc

@ -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…
Cancel
Save