1
0
mirror of https://github.com/etcd-io/etcd.git synced 2026-02-06 09:46:37 +01:00

2 Commits

Author SHA1 Message Date
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
Piotr Tabor
5097b33ab9 Rename etcdserver/etcderrors package to etcdserver/errors. 2022-05-20 14:32:04 +02:00