summaryrefslogtreecommitdiff
path: root/api/server
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2023-04-08 20:03:27 +0200
committerSebastiaan van Stijn <github@gone.nl>2023-04-08 20:03:27 +0200
commitf66374f6a87f8c2d67932d6b0249bae358b70f93 (patch)
tree21c4f0f18d2a9de2c7074ab389cb0b96a634cca2 /api/server
parent81e62af94ac59cf56aa6f988e04f5238e0f69ad1 (diff)
downloaddocker-f66374f6a87f8c2d67932d6b0249bae358b70f93.tar.gz
golangci-lint: enable importas linter to force consistent aliases
This enforces the github.com/containerd/containerd/errdefs package to be aliased as "cerrdefs". Any other alias (or no alias used) results in a linting failure: integration/container/pause_test.go:9:2: import "github.com/containerd/containerd/errdefs" imported as "c8derrdefs" but must be "cerrdefs" according to config (importas) c8derrdefs "github.com/containerd/containerd/errdefs" ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'api/server')
0 files changed, 0 insertions, 0 deletions