dragonflydb / dragonflydb/dragonfly-operator

Segfault when using getCurrentNamespace

Open
#538 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.