File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require (
66 github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
77 github.com/alibaba/sentinel-golang v1.0.2
88 github.com/go-ole/go-ole v1.2.5 // indirect
9- github.com/nacos-group/nacos-sdk-go v1.0.1
9+ github.com/nacos-group/nacos-sdk-go v1.0.8
1010 github.com/pkg/errors v0.9.1
1111 github.com/stretchr/testify v1.5.1
1212)
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w
5353github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd /go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q =
5454github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg =
5555github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 /go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0 =
56- github.com/nacos-group/nacos-sdk-go v1.0.1 h1:VNmXGlSS28xOmkO5Nxk5WRp6f1HMosAmG9pDtcnUFcw =
57- github.com/nacos-group/nacos-sdk-go v1.0.1 /go.mod h1:hlAPn3UdzlxIlSILAyOXKxjFSvDJ9oLzTJ9hLAK1KzA =
56+ github.com/nacos-group/nacos-sdk-go v1.0.8 h1:8pEm05Cdav9sQgJSv5kyvlgfz0SzFUUGI3pWX6SiSnM =
57+ github.com/nacos-group/nacos-sdk-go v1.0.8 /go.mod h1:hlAPn3UdzlxIlSILAyOXKxjFSvDJ9oLzTJ9hLAK1KzA =
5858github.com/pkg/errors v0.8.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
5959github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4 =
6060github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ type nacosClientMock struct {
4242 mock.Mock
4343}
4444
45+ func (n * nacosClientMock ) PublishAggr (param vo.ConfigParam ) (published bool , err error ) {
46+ panic ("implement me" )
47+ }
48+
4549func (n * nacosClientMock ) GetConfig (param vo.ConfigParam ) (string , error ) {
4650 ret := n .Called (param )
4751 return ret .String (0 ), ret .Error (1 )
@@ -67,7 +71,7 @@ func (n *nacosClientMock) CancelListenConfig(params vo.ConfigParam) (err error)
6771 return ret .Error (0 )
6872}
6973
70- func (n * nacosClientMock ) SearchConfig (param vo.SearchConfigParm ) (* model.ConfigPage , error ) {
74+ func (n * nacosClientMock ) SearchConfig (param vo.SearchConfigParam ) (* model.ConfigPage , error ) {
7175 ret := n .Called (param )
7276 return ret .Get (0 ).(* model.ConfigPage ), ret .Error (1 )
7377}
You can’t perform that action at this time.
0 commit comments