Skip to content
Snippets Groups Projects
Commit 5982c764 authored by tiecheng's avatar tiecheng
Browse files

registry string from constant

parent 4a4656c0
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ func newFileSystemServiceDiscovery(name string) (registry.ServiceDiscovery, erro
}
fdcf := extension.GetConfigCenterFactory(constant.FILE_KEY)
p := path.Join(rp, ".dubbo", "registry")
p := path.Join(rp, ".dubbo", constant.REGISTRY_KEY)
url, _ := common.NewURL("")
url.AddParamAvoidNil(file.CONFIG_CENTER_DIR_PARAM_NAME, p)
c, err := fdcf.GetDynamicConfiguration(&url)
......
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