Skip to content

Commit db9d4e4

Browse files
committed
Fix go.mod to have the correct Go version
As of recent Go versions, specifying the go directive without a patch (e.g. 1.22) is no longer supported. Because go tries to download a matching toolchain if you're not already using one, it will try to download go toolchain version 1.22, which doesn't exist (1.22.0 does). Fix the go.mod version to specify the full version with patch, 1.22.0. Signed-off-by: Kevin Parsons <[email protected]>
1 parent 9cf7c1c commit db9d4e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/Microsoft/hcsshim
22

3-
go 1.22
3+
go 1.22.0
44

55
require (
66
github.com/Microsoft/cosesign1go v1.2.0

test/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/Microsoft/hcsshim/test
22

3-
go 1.22
3+
go 1.22.0
44

55
require (
66
github.com/Microsoft/go-winio v0.6.2

0 commit comments

Comments
 (0)