Resolve "problems" identified by vscode
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -177,12 +177,12 @@ func Test_FindAllKernels(t *testing.T) {
|
|||||||
}{
|
}{
|
||||||
"two images": {
|
"two images": {
|
||||||
files: map[string][]string{
|
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.18.1.el9_4.x86_64",
|
||||||
"/boot/vmlinuz-5.14.0-427.24.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",
|
"/boot/vmlinuz-4.14.0-427.18.1.el8_4.x86_64",
|
||||||
},
|
},
|
||||||
"image2": []string{
|
"image2": {
|
||||||
"/boot/vmlinuz-0-rescue-eb46964329b146e39518c625feab3ea0",
|
"/boot/vmlinuz-0-rescue-eb46964329b146e39518c625feab3ea0",
|
||||||
"/boot/vmlinuz-5.14.0-362.24.1.el9_3.aarch64",
|
"/boot/vmlinuz-5.14.0-362.24.1.el9_3.aarch64",
|
||||||
"/boot/vmlinuz-5.14.0-427.31.1.el9_4.aarch64+debug",
|
"/boot/vmlinuz-5.14.0-427.31.1.el9_4.aarch64+debug",
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ import (
|
|||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"gopkg.in/yaml.v3"
|
|
||||||
"io"
|
"io"
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"net"
|
"net"
|
||||||
@@ -19,6 +18,8 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
"github.com/warewulf/warewulf/internal/pkg/wwlog"
|
"github.com/warewulf/warewulf/internal/pkg/wwlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user