diff options
| author | Sebastiaan van Stijn <github@gone.nl> | 2023-04-08 20:03:27 +0200 |
|---|---|---|
| committer | Sebastiaan van Stijn <github@gone.nl> | 2023-04-08 20:03:27 +0200 |
| commit | f66374f6a87f8c2d67932d6b0249bae358b70f93 (patch) | |
| tree | 21c4f0f18d2a9de2c7074ab389cb0b96a634cca2 /api/server | |
| parent | 81e62af94ac59cf56aa6f988e04f5238e0f69ad1 (diff) | |
| download | docker-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
