dragonflydb / dragonflydb/dragonfly-operator
Segfault when using getCurrentNamespace
- Dominant language
- Go
- Stars
- 357
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
When running the docker image with --get-current-namespace i get the following segfault:
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x18eb6d3]
goroutine 1 [running]:
main.getCurrentNamespace()
/workspace/cmd/main.go:209 +0x33
main.main()
/workspace/cmd/main.go:124 +0x545
stream closed: EOF for database/dragonfly-operator-795cf48fbb-b8zxl (app)
```
manually provisioning the namespace via the `WATCH_NAMESPACE` var does work
Contributor guide
Assessment
This issue has not been assessed yet.