mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Merge pull request openziti/fabric#83 from netfoundry/xlink-default-channel-options
Init xlink channel options to defaults if not specified
This commit is contained in:
@@ -59,6 +59,8 @@ func loadListenerConfig(data map[interface{}]interface{}) (*listenerConfig, erro
|
||||
} else {
|
||||
return nil, fmt.Errorf("invalid 'options' in listener config (%s)", reflect.TypeOf(value))
|
||||
}
|
||||
} else {
|
||||
config.options = channel2.DefaultOptions()
|
||||
}
|
||||
|
||||
return config, nil
|
||||
|
||||
Reference in New Issue
Block a user