Skip to content

Commit

Permalink
fix:修复nacos协议兼容中的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Jan 11, 2024
1 parent 21a15e7 commit 2ff1020
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 78 deletions.
1 change: 0 additions & 1 deletion apiserver/nacosserver/v2/config/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func (c *StreamWatchContext) ShouldNotify(event *model.SimpleConfigFileRelease)
if !event.Valid {
return true
}
nacoslog.Info("should notify", zap.String("client", c.ClientID()), zap.String("save-md5", watchFile.GetMd5().GetValue()), zap.String("recv-md5", event.Md5))
isChange := watchFile.GetMd5().GetValue() != event.Md5
return isChange
}
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ require (
github.com/ArthurHlt/go-eureka-client v1.1.0
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect
github.com/sirupsen/logrus v1.6.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)

// Indirect dependencies group
Expand All @@ -63,7 +62,6 @@ require (
github.com/josharian/intern v1.0.0 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
Expand Down
Loading

0 comments on commit 2ff1020

Please sign in to comment.