Commit 23c831a
committed
remove pre-go1.17 build-tags, and fix missing build-tags in plugin
The plugin package did not have build-tags, but imported the main module,
which only is supported on linux and freebsd. As a result, golangci-lint
would fail on other platforms:
INFO [runner] linters took 3.644851708s with stages: goanalysis_metalinter: 3.634862583s
plugin/plugin.go:25:2: could not import github.com/containerd/zfs (-: build constraints exclude all Go files in ) (typecheck)
"github.com/containerd/zfs"
Signed-off-by: Sebastiaan van Stijn <[email protected]>1 parent e5acd95 commit 23c831a
3 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
0 commit comments