Skip to content

Commit

Permalink
refactor registry polaris project
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Nov 16, 2022
1 parent f58ec50 commit 09c98a1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions remoting/polaris/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (

import (
"dubbo.apache.org/dubbo-go/v3/common"
"dubbo.apache.org/dubbo-go/v3/common/constant"

"github.com/stretchr/testify/assert"
)
Expand All @@ -38,11 +37,7 @@ func TestGetPolarisConfigByUrl(t *testing.T) {
}

func getRegUrl() *common.URL {

regurlMap := url.Values{}
regurlMap.Set(constant.PolarisNamespace, "default")

regurl, _ := common.NewURL("registry://127.0.0.1:8091", common.WithParams(regurlMap))

return regurl
}

0 comments on commit 09c98a1

Please sign in to comment.