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