Browse Source

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
commit
5beda4d5bc
  1. 2
      consul/session_endpoint.go

2
consul/session_endpoint.go

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