Resolve "problems" identified by vscode

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-06 22:05:23 -07:00
parent 19e5972b5c
commit ec453863d5
2 changed files with 4 additions and 3 deletions

View File

@@ -177,12 +177,12 @@ func Test_FindAllKernels(t *testing.T) {
}{
"two images": {
files: map[string][]string{
"image1": []string{
"image1": {
"/boot/vmlinuz-5.14.0-427.18.1.el9_4.x86_64",
"/boot/vmlinuz-5.14.0-427.24.1.el9_4.x86_64",
"/boot/vmlinuz-4.14.0-427.18.1.el8_4.x86_64",
},
"image2": []string{
"image2": {
"/boot/vmlinuz-0-rescue-eb46964329b146e39518c625feab3ea0",
"/boot/vmlinuz-5.14.0-362.24.1.el9_3.aarch64",
"/boot/vmlinuz-5.14.0-427.31.1.el9_4.aarch64+debug",

View File

@@ -6,7 +6,6 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
"gopkg.in/yaml.v3"
"io"
"io/fs"
"net"
@@ -19,6 +18,8 @@ import (
"syscall"
"time"
"gopkg.in/yaml.v3"
"github.com/warewulf/warewulf/internal/pkg/wwlog"
)