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