From 1e55739f698df0e4fed0f6ce8f3d706d1b3b5009 Mon Sep 17 00:00:00 2001
From: fangyincheng <fangyincheng@sina.com>
Date: Mon, 23 Sep 2019 17:48:32 +0800
Subject: [PATCH] Fix: forgotten problems

---
 common/url.go                 | 4 ++--
 registry/protocol/protocol.go | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/url.go b/common/url.go
index bf58ca188..6e7a843c8 100644
--- a/common/url.go
+++ b/common/url.go
@@ -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 {
diff --git a/registry/protocol/protocol.go b/registry/protocol/protocol.go
index c746cf8ef..534a4b945 100644
--- a/registry/protocol/protocol.go
+++ b/registry/protocol/protocol.go
@@ -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()
 }
-- 
GitLab