Skip to content

Commit

Permalink
chore: fix go.work resolution
Browse files Browse the repository at this point in the history
See golang/go#60126

The issue is that `containerd/containerd` is an indirect dependency via
a circular import from `containerd/containerd/v2` via
`microsoft/hccsim`, but in fact it's not used/built into Talos.

So explicitly exclude it, so that `go.work` flows work once again.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed May 31, 2024
1 parent 2f088ed commit 911c255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ linters-settings:
- golang.zx2c4.com/wireguard
- golang.zx2c4.com/wireguard/wgctrl
retract-allow-no-explanation: false
exclude-forbidden: true
exclude-forbidden: false

linters:
enable-all: true
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -367,3 +367,5 @@ require (
tags.cncf.io/container-device-interface v0.7.2 // indirect
tags.cncf.io/container-device-interface/specs-go v0.7.0 // indirect
)

exclude github.com/containerd/containerd v1.7.0

0 comments on commit 911c255

Please sign in to comment.