Skip to content
Snippets Groups Projects
Commit fb450a79 authored by willson-chen's avatar willson-chen
Browse files

Simplify the assignment of override

parent 9ab1a9be
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ func ToConfigurators(urls []*common.URL, f func(url *common.URL) config_center.C
break
}
var override map[string][]string = url.GetParams()
override := url.GetParams()
delete(override, constant.ANYHOST_KEY)
if len(override) == 0 {
configurators = 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