Skip to content
Snippets Groups Projects
Commit 208ac127 authored by fangyincheng's avatar fangyincheng
Browse files

Merge remote-tracking branch 'apache/develop' into develop

parents 1e55739f 95f857c8
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,8 @@ func (c *ProtocolConfig) Prefix() string {
func loadProtocol(protocolsIds string, protocols map[string]*ProtocolConfig) []*ProtocolConfig {
returnProtocols := []*ProtocolConfig{}
for _, v := range strings.Split(protocolsIds, ",") {
for _, prot := range protocols {
if v == prot.Name {
for k, prot := range protocols {
if v == k {
returnProtocols = append(returnProtocols, prot)
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment