mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Fixes crash due to server.diagnostics.server not set
This commit is contained in:
parent
dbc4e150e2
commit
75bd93d895
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