Skip to content

Commit 8277c90

Browse files
committed
chore: changes from package updates
Signed-off-by: Richard Case <richard.case@outlook.com>
1 parent 980c561 commit 8277c90

File tree

6 files changed

+74
-5
lines changed

6 files changed

+74
-5
lines changed

.golangci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,5 @@ linters:
113113
- mnd
114114
- wsl
115115
- wrapcheck
116+
- exportloopref # deprecated
117+
- execinquery # deprecated

devbox.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.10.7/.schema/devbox.schema.json",
3+
"packages": ["go@1.23.1"],
4+
"shell": {
5+
"init_hook": [
6+
"echo 'Welcome to devbox!' > /dev/null"
7+
],
8+
"scripts": {
9+
"test": [
10+
"echo \"Error: no test specified\" && exit 1"
11+
]
12+
}
13+
}
14+
}

devbox.lock

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"go@1.23.1": {
5+
"last_modified": "2024-09-10T15:01:03Z",
6+
"resolved": "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269#go_1_23",
7+
"source": "devbox-search",
8+
"version": "1.23.1",
9+
"systems": {
10+
"aarch64-darwin": {
11+
"outputs": [
12+
{
13+
"name": "out",
14+
"path": "/nix/store/nvaay1c4banbccyvv6ba1gzyqpypjmfq-go-1.23.1",
15+
"default": true
16+
}
17+
],
18+
"store_path": "/nix/store/nvaay1c4banbccyvv6ba1gzyqpypjmfq-go-1.23.1"
19+
},
20+
"aarch64-linux": {
21+
"outputs": [
22+
{
23+
"name": "out",
24+
"path": "/nix/store/9ylsay11jb3p6yarkmlz0fin76cdypwa-go-1.23.1",
25+
"default": true
26+
}
27+
],
28+
"store_path": "/nix/store/9ylsay11jb3p6yarkmlz0fin76cdypwa-go-1.23.1"
29+
},
30+
"x86_64-darwin": {
31+
"outputs": [
32+
{
33+
"name": "out",
34+
"path": "/nix/store/zkg5xhyx2rs03dq0qp14nqlx9ff1y5c5-go-1.23.1",
35+
"default": true
36+
}
37+
],
38+
"store_path": "/nix/store/zkg5xhyx2rs03dq0qp14nqlx9ff1y5c5-go-1.23.1"
39+
},
40+
"x86_64-linux": {
41+
"outputs": [
42+
{
43+
"name": "out",
44+
"path": "/nix/store/mi0ybwsm6pmxzv9hsm6bcbqaq1pkf8wh-go-1.23.1",
45+
"default": true
46+
}
47+
],
48+
"store_path": "/nix/store/mi0ybwsm6pmxzv9hsm6bcbqaq1pkf8wh-go-1.23.1"
49+
}
50+
}
51+
}
52+
}
53+
}

hack/tools/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/liquidmetal-dev/flintlock/hack/tools
22

3-
go 1.22.1
3+
go 1.23
44

5-
toolchain go1.22.6
5+
toolchain go1.23.1
66

77
require (
88
github.com/golang/mock v1.6.0

infrastructure/containerd/image_service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"github.com/sirupsen/logrus"
88

99
"github.com/containerd/containerd"
10-
"github.com/containerd/containerd/errdefs"
1110
"github.com/containerd/containerd/mount"
1211
"github.com/containerd/containerd/namespaces"
1312
"github.com/containerd/containerd/snapshots"
13+
"github.com/containerd/errdefs"
1414
"github.com/opencontainers/image-spec/identity"
1515

1616
"github.com/liquidmetal-dev/flintlock/core/models"

pkg/validation/validate_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ func TestValidation_Invalid(t *testing.T) {
4949
vmspec models.MicroVM
5050
}{
5151
{
52-
name: "nil spec should fail validation with 5 errors",
53-
numErrors: 6,
52+
name: "nil spec should fail validation with 4 errors",
53+
numErrors: 4,
5454
vmspec: models.MicroVM{},
5555
},
5656
{

0 commit comments

Comments
 (0)