Commit Graph

5 Commits

Author SHA1 Message Date
75cd1369a5 fix: enable gofumpt instead of gofmt linter in tests
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-11-28 21:08:42 +01:00
d4df7a902e Replaces a number of error equality checks with errors.Is
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-03 16:02:24 -07:00
dafadd13c1 all: don't convert byte slice to string when using verb %s
This is unnecessary, as the documentation for 'go doc fmt' says:
%s the uninterpreted bytes of the string or slice

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-25 23:34:52 +08:00
f67ec10779 etcd: format import order
golang CodeReviewComments:
https://github.com/golang/go/wiki/CodeReviewComments#imports

Signed-off-by: demoManito <1430482733@qq.com>
2022-09-20 18:41:39 +08:00
9b6681fffd add failover test cases 2022-02-25 09:55:36 +08:00