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:
Paul Lorenz
2020-04-23 22:59:52 -04:00
committed by GitHub
+2
View File
@@ -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