Fix server panic
This commit is contained in:
parent
6226a80e78
commit
1da6de05ee
@ -25,6 +25,7 @@ type options struct {
|
|||||||
func newOptions(opt ...Option) options {
|
func newOptions(opt ...Option) options {
|
||||||
opts := options{
|
opts := options{
|
||||||
codecs: make(map[string]codec.NewCodec),
|
codecs: make(map[string]codec.NewCodec),
|
||||||
|
metadata: map[string]string{},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, o := range opt {
|
for _, o := range opt {
|
||||||
|
Loading…
Reference in New Issue
Block a user