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

Fix: forgotten problems

parent 67349bc2
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ import (
)
import (
"github.com/dubbogo/gost/container"
"github.com/dubbogo/gost/container/gxset"
"github.com/jinzhu/copier"
perrors "github.com/pkg/errors"
"github.com/satori/go.uuid"
......@@ -447,7 +447,7 @@ func (c URL) GetMethodParam(method string, key string, d string) string {
return r
}
func (c *URL) RemoveParams(set *container.HashSet) {
func (c *URL) RemoveParams(set *gxset.HashSet) {
c.paramsLock.Lock()
defer c.paramsLock.Unlock()
for k := range set.Items {
......
......@@ -23,7 +23,7 @@ import (
)
import (
"github.com/dubbogo/gost/container"
"github.com/dubbogo/gost/container/gxset"
)
import (
......@@ -65,7 +65,7 @@ func init() {
func getCacheKey(url *common.URL) string {
newUrl := url.Clone()
delKeys := container.NewSet("dynamic", "enabled")
delKeys := gxset.NewSet("dynamic", "enabled")
newUrl.RemoveParams(delKeys)
return newUrl.String()
}
......
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