Skip to content
Snippets Groups Projects
Commit 6300a24d authored by 邹毅贤's avatar 邹毅贤
Browse files

fix travis

parent bcffde9b
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ func (b *configCenter) toURL(baseConfig BaseConfig) (common.URL, error) {
}
remoteRef := baseConfig.ConfigCenterConfig.RemoteRef
rc, ok := GetBaseConfig().GetRemoteConfig(remoteRef)
rc, ok := baseConfig.GetRemoteConfig(remoteRef)
if !ok {
return common.URL{}, perrors.New("Could not find out the remote ref config, name: " + remoteRef)
......
......@@ -56,7 +56,7 @@ func TestStartConfigCenterWithRemoteRef(t *testing.T) {
})
m := make(map[string]*RemoteConfig)
m["mock"] = &RemoteConfig{Protocol: "mock", Address: "172.0.0.1"}
baseConfig = &BaseConfig{
baseConfig := &BaseConfig{
Remotes: m,
ConfigCenterConfig: &ConfigCenterConfig{
Group: "dubbo",
......
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