69efe31ea0
fix: enable gofumpt instead of gofmt linter in server
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-11-27 07:22:36 +01:00
3a3115122e
fix: enable require-error rule from testifylint in client, pkg and server packages
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-28 21:02:58 +01:00
ff4a8df3aa
fix: enable formatter rule from testifylint
...
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
2024-10-17 14:10:35 +02:00
33d7f2d53e
fix: enable gofmt and whitespace linters
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-11 07:03:18 +02:00
08d54bc5a8
Remove context from appliers
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2024-10-04 18:14:25 +02:00
7537341861
Remove context from dispatch
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2024-10-04 16:56:16 +02:00
ffdf5f2d06
Remove context from top level apply
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2024-10-04 16:06:55 +02:00
0739142ee3
server: errors.Is conversions
...
Signed-off-by: redwrasse <mail@redwrasse.io >
2024-09-29 05:23:47 -07:00
14523bdc21
etcdserver: rename MemberId() to MemberID() to address var-naming
...
Signed-off-by: Ivan Valdes <ivan@vald.es >
2024-03-18 17:18:29 -07:00
c613b78e6c
etcdserver: address golangci var-naming issues
...
Signed-off-by: Ivan Valdes <ivan@vald.es >
2024-03-18 17:17:07 -07:00
2ad21558ac
Remove shouldApplyV3 from the v3 applier
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-11-24 16:13:25 +01:00
d9408473c5
server: Unify arguments for mvcc methods
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-08-18 13:41:13 +02:00
fa21c07baa
server: Separate internal functions for recursion and have public function create transaction and trace
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-08-03 17:47:03 +02:00
11aa59c42d
etcdserver: add tests for apply_auth.go
...
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com >
2023-06-23 10:58:30 -05:00
84a9af17cc
Add first unit test for authApplierV3
...
This contains a slight refactoring to expose enough information
to write meaningful tests for auth applier v3.
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com >
2023-06-15 15:57:44 +02:00