Commit Graph

40 Commits

Author SHA1 Message Date
ajaysundar.k
74ffe2e783 etcd: update golang toolchain to 1.23.5
Signed-off-by: ajaysundar.k <ajaysundar.k@gmail.com>
2025-01-18 00:08:48 +00:00
Benjamin Wang
40b856edff
Merge pull request #18967 from mmorel-35/testifier/client
fix: use testify instead of t.Fatal or t.Error in client package (part 1)
2024-12-21 14:23:06 +00:00
ArkaSaha30
8359b320d1
dependency: bump go.opentelemetry.io/otel from 1.32.0 to 1.33.0
This commit will bump dependency go.opentelemetry.io/otel from 1.32.0 to 1.33.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-19 14:11:12 +05:30
Matthieu MOREL
99f99cbb2f fix: use testify instead of t.Fatal or t.Error in client package (part 1)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-11 07:58:17 +01:00
Anurag De
fb42ae06b8 etdc main: updated go version from 1.23.3 to 1.23.3
Signed-off-by: Anurag De <anuragde2004@gmail.com>
2024-12-04 13:26:05 +05:30
ArkaSaha30
6fd6bd812f
dependency: bump github.com/stretchr/testify from 1.9.0 to 1.10.0
This commit will bump dependency github.com/stretchr/testify from 1.9.0 to 1.10.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-11-29 12:38:16 +05:30
Matthieu MOREL
86c6b5f2da fix: enable usestdlibvars linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-11-07 10:28:48 +00:00
Ivan Valdes
b1fb361eca
Bump go toolchain to 1.23.3
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-11-06 17:13:26 -08:00
Benjamin Wang
18eb5c6881
Merge pull request #18748 from mmorel-35/golangci-lint/gofumpt
fix: enable gofumpt instead of gofmt linter in client
2024-10-25 12:25:33 +01:00
Benjamin Wang
867bd2689f
Merge pull request #18746 from mmorel-35/golangci-lint/thelper
fix: enable thelper linter in client directory
2024-10-23 07:57:03 +01:00
Benjamin Wang
a7dcfdb839
Merge pull request #18741 from ghouscht/testifylint-formatter
fix: enable formatter rule from testifylint
2024-10-22 06:15:27 +01:00
Chun-Hung Tseng
8c538cd81c dependency: bump bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.30.0 to 1.31.0, github.com/rogpeppe/go-internal from v1.12.0 to v1.13.1, and google.golang.org/genproto/googleapis/api from v0.0.0-20240924160255-9d4c2d233b61 to v0.0.0-20241007155032-5fefd90f89a9
Also addressed inconsistent versions for dependency: github.com/rogpeppe/go-internal and google.golang.org/genproto/googleapis/api

Reference:
- https://github.com/etcd-io/etcd/pull/18736

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-20 13:37:57 +08:00
Matthieu MOREL
906247c8f9 fix: enable gofumpt instead of gofmt linter in client
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-17 22:29:59 +02:00
Thomas Gosteli
ff4a8df3aa fix: enable formatter rule from testifylint
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch>
2024-10-17 14:10:35 +02:00
Matthieu MOREL
97c8869184 fix: enable thelper linter in client directory
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-17 00:06:06 +02:00
Matthieu MOREL
c9f6dc723a fix: enable errorlint in module go.etcd.io/etcd/client/v2
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-12 12:39:00 +02:00
Matthieu MOREL
33d7f2d53e fix: enable gofmt and whitespace linters
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-11 07:03:18 +02:00
Matthieu MOREL
3343dc894a fix: use require.NoError instead of t.Fatal(err) in client package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-09 08:29:38 +02:00
Agni
8650df2868 Bump go version to 1.23.2
Signed-off-by: Agni <bhattacharyya.agni@gmail.com>
2024-10-02 03:34:11 +05:30
Chun-Hung Tseng
dcdfead770 Bump go toolchain to 1.23.1
Reference:
- https://github.com/etcd-io/etcd/issues/18543
- https://github.com/kubernetes/release/issues/3650

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 22:38:57 +02:00
redwrasse
ecc2c5e471 client modules: remaining errors.Is conversions for error equality and inequality checks.
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-22 17:43:01 -07:00
Chun-Hung Tseng
29f3bc2222
Bump go toolchain to 1.22.7
Reference:
- https://github.com/etcd-io/etcd/issues/18443
- https://github.com/etcd-io/etcd/issues/18548#issuecomment-2343061825

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-11 15:32:52 +02:00
Chun-Hung Tseng
794d1b64f7
go version bump from 1.22.5 to 1.22.6
Reference: https://github.com/etcd-io/etcd/issues/18419
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:30:09 +02:00
ArkaSaha30
984100b3a6
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.20.0 to 2.21.0
This commit will bump dependency bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.20.0 to 2.21.0 raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-31 14:16:18 +05:30
D Tripp
8f974669c5 Bump Go version to 1.22.5: GO-2024-2963 fix.
Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 05:07:03 +00:00
ArkaSaha30
2089857ab8
Bump Go version to 1.22.4: CVE 2024-24790 fix
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 14:12:52 +05:30
Lavish pal
6038f391f1 Upgrade go to 1.22.3.
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-10 03:27:35 +05:30
Madhav Jivrajani
f6a35f8786 .*: sync go toolchain version and add ability to verify versions
This commit adds a script to sync the version present in .go-version
across all go.mod files as the toolchain directive. As part of that,
this commit also modifies go.mod files that did not have synced toolchain
directives.

Additionally, this also adds a script to verify all toolchain and go
directives against the version present in .go-version as follows:
(1) The go directive <= version in .go-version
(2) The toolchain directive == version in .go-version

This script runs as part of the `make verify` target, making it run
as a presbumit by default.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-07 17:52:56 +05:30
Ivan Valdes
0024569c7c
dependency: bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-11 11:50:27 -07:00
Allen Ray
bb4b70bbb2 Migrate to go1.22
Signed-off-by: Allen Ray <alray@redhat.com>
2024-03-06 17:15:36 -05:00
Ivan Valdes
fe03e168a3
*: fix golangci error-strings issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-01-18 16:43:55 -08:00
Wei Fu
aea1cd0077 feat: enable unparam lint
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-10-17 21:24:13 +08:00
Wei Fu
4704a5af3a *: fix unused issue
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-25 19:37:18 +08:00
Benjamin Wang
de41d4d8aa dependency: set github.com/grpc-ecosystem/grpc-gateway/v2 version to 2.17.1 for all modules
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-18 11:22:16 +01:00
chenyahui
c0aa3b613b Use any instead of interface{}
Signed-off-by: chenyahui <cyhone@qq.com>
2023-09-17 17:41:58 +08:00
Allen Ray
cc130fd2d4 Update to go1.21
Signed-off-by: Allen Ray <alray@redhat.com>
2023-09-13 10:10:02 -04:00
James Blair
b6d123d08b
Update to golang 1.20 minor release.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-11 15:03:48 +12:00
Chao Chen
b2c39fc8e6 2023-06-06: bump up dependencies update identified by dependabot
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-06-06 20:18:44 -07:00
Bogdan Kanivets
ef91e8ae78 dependency: bump github.com/stretchr/testify from 1.8.2 to 1.8.3
Signed-off-by: Bogdan Kanivets <bkanivets@apple.com>
2023-05-24 23:58:13 -07:00
Marek Siarkowicz
be7be34800 client: Hide v2 client package
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-03-31 10:26:11 +02:00