mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
Merge pull request #1229 from yuce/fix-crash
[URGENT] Fixes crash due to server.diagnostics.server not set
This commit is contained in:
commit
64953b4cd5
1 changed files with 1 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ func NewServer(opts ...ServerOption) (*Server, error) {
|
|||
|
||||
logger: NopLogger,
|
||||
}
|
||||
s.diagnostics.server = s
|
||||
|
||||
for _, opt := range opts {
|
||||
err := opt(s)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue