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

Mod: delete a judgment condition

parent 00e91169
No related branches found
No related tags found
No related merge requests found
......@@ -239,12 +239,10 @@ func getParamString(item ConfigItem) (string, error) {
retStr = retStr + v
}
if len(item.ProviderAddresses) >= 0 {
retStr = retStr + "&"
retStr = retStr + constant.OVERRIDE_PROVIDERS_KEY
retStr = retStr + "="
retStr = retStr + strings.Join(item.ProviderAddresses, ",")
}
retStr = retStr + "&"
retStr = retStr + constant.OVERRIDE_PROVIDERS_KEY
retStr = retStr + "="
retStr = retStr + strings.Join(item.ProviderAddresses, ",")
return retStr, nil
}
......
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