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