Ivan Valdes
|
ff30e0dcdd
|
Fix revive var-naming warning in errors package
Updating github.com/golangci/golangci-lint/v2 to 2.7.2 raises the
following error:
% 'golangci-lint' 'run' '--config'
'/var/home/ivan/Code/Personal/etcd/etcd/tools/.golangci.yaml' '--fix'
'./...' './api/...' './cache/...' './client/pkg/...' './client/v3/...'
'./ etcdctl/...' './etcdutl/...' './pkg/...' './server/...'
'./tests/...' './tools/mod/...' './tools/rw-heatmaps/...'
'./tools/testgrid-analysis/...'
../server/etcdserver/errors/errors.go:15:9: var-naming: avoid package
names that conflict with Go standard library package names (revive)
package errors ^ 1 issues:
* revive: 1
Signed-off-by: Ivan Valdes <ivan@vald.es>
|
2025-12-22 22:44:48 -08:00 |
|