-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
panic: runtime error: index out of range [7] with length 3 [recovered, repanicked]
goroutine 10 [running]:
testing.tRunner.func1.2({0xa346e0, 0xc00003a768})
/usr/lib/go/src/testing/testing.go:1872 +0x237
testing.tRunner.func1()
/usr/lib/go/src/testing/testing.go:1875 +0x35b
panic({0xa346e0?, 0xc00003a768?})
/usr/lib/go/src/runtime/panic.go:783 +0x132
google.golang.org/protobuf/internal/filedesc.(*EnumValues).Get(0xe6f710?, 0xbaef23?)
/home/ilja/go/pkg/mod/google.golang.org/protobuf@v1.36.11/internal/filedesc/desc_list_gen.go:67 +0x30
github.com/metal-stack/api/go/enum.GetStringValue[...](0x7)
/home/ilja/go/pkg/mod/github.com/metal-stack/api@v0.0.39-0.20260116121642-3889244bd6b6/go/enum/parser.go:20 +0x18b
github.com/metal-stack/metal-apiserver/pkg/db/metal.ToReplaceMode(...)
/home/ilja/git/github.com/metal-stack/metal-apiserver/pkg/db/metal/switch.go:80
github.com/metal-stack/metal-apiserver/pkg/db/metal.TestToReplaceMode.func1(0xc000322540)
/home/ilja/git/github.com/metal-stack/metal-apiserver/pkg/db/metal/switch_test.go:42 +0x2b
testing.tRunner(0xc000322540, 0xc000311040)
/usr/lib/go/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 8
/usr/lib/go/src/testing/testing.go:1997 +0x465
FAIL github.com/metal-stack/metal-apiserver/pkg/db/metal 0.008s
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done