Skip to content

[Bug]: panic in config.go:244 #53

Description

@martialblog

Please try to fill out as much of the information below as you can. Thank you!

  • Yes, I've searched similar issues on GitHub and didn't find any.

Which version contains the bug?

1.0.4

Describe the bug

./check_akcp_sensorprobeXplus -h 211.REDACTED -c public
[UNKNOWN] - Golang encountered a panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
github.com/NETWAYS/go-check.CatchPanic()
/github/go/pkg/mod/github.com/!n!e!t!w!a!y!s/go-check@v0.6.4/exit.go:81 +0x75
panic({0x5be260?, 0xe6d40d10000?})
/usr/local/go/src/runtime/panic.go:860 +0x13a
main.(*Config).Run(0xe6d40b8c000, 0xe6d40ac5eb0)
/github/go/src/github.com/NETWAYS/check_akcp_sensorprobeXplus/config.go:244 +0x58b
main.main()
/github/go/src/github.com/NETWAYS/check_akcp_sensorprobeXplus/main.go:71 +0x1b9

How to recreate the bug?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions