mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
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…
Reference in New Issue
Block a user