Skip to content

Commit 96f9b01

Browse files
authored
Merge pull request #3548 from apostasie/lint-fixes
Lint fixes
2 parents 2a8a3f9 + 7fab74c commit 96f9b01

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

pkg/mountutil/mountutil_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ func (mv *MockVolumeStore) CreateWithoutLock(name string, labels []string) (*nat
3434
return &native.Volume{Name: "test_volume", Mountpoint: "/test/volume"}, nil
3535
}
3636

37+
//nolint:unused
3738
var mockVolumeStore = &MockVolumeStore{}

pkg/netutil/netutil.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ func structToMap(in interface{}) (map[string]interface{}, error) {
627627
}
628628

629629
// ParseMTU parses the mtu option
630+
// nolint:unused
630631
func parseMTU(mtu string) (int, error) {
631632
if mtu == "" {
632633
return 0, nil // default

pkg/testutil/testutil_freebsd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const (
3232
var (
3333
AlpineImage = mirrorOf("alpine:3.13")
3434
NginxAlpineImage = mirrorOf("nginx:1.19-alpine")
35+
GolangImage = mirrorOf("golang:1.18")
3536
)
3637

3738
func mirrorOf(s string) string {

0 commit comments

Comments
 (0)