server: fix NewHandlerOptions
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
8930c3fbb7
commit
bcf7cf10d3
@ -303,6 +303,7 @@ type HandlerOptions struct {
|
||||
func NewHandlerOptions(opts ...HandlerOption) HandlerOptions {
|
||||
options := HandlerOptions{
|
||||
Context: context.Background(),
|
||||
Metadata: make(map[string]metadata.Metadata),
|
||||
}
|
||||
|
||||
for _, o := range opts {
|
||||
|
Loading…
Reference in New Issue
Block a user