clean up and add a changelog snippet

This commit is contained in:
David Christofas
2020-02-04 12:05:17 +01:00
parent 0512005e66
commit 694fea3943
4 changed files with 7 additions and 2 deletions

5
changelog/unreleased/22 Normal file
View File

@@ -0,0 +1,5 @@
Change: upgrade the micro libraries
Upgraded the go-micro libraries to v2.
https://github.com/owncloud/ocis-pkg/pull/22

1
go.mod
View File

@@ -10,7 +10,6 @@ require (
github.com/justinas/alice v1.2.0
github.com/micro/cli/v2 v2.1.1
github.com/micro/go-micro/v2 v2.0.0
github.com/micro/go-plugins v1.5.1
github.com/micro/go-plugins/wrapper/trace/opencensus/v2 v2.0.1
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
github.com/prometheus/client_golang v1.2.1

1
go.sum
View File

@@ -237,6 +237,7 @@ github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6
github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d h1:3PaI8p3seN09VjbTYC/QWlUZdZ1qS1zGjy7LH2Wt07I=
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=

View File

@@ -73,7 +73,7 @@ func NewLogger(opts ...Option) Logger {
mlog.SetLogger(
microZerolog{
logger: logger,
buffer: ring.New(1024), // TODO make configurable?
buffer: ring.New(mdlog.DefaultSize),
},
)