Skip to content

Commit

Permalink
Update deprecated grpc function
Browse files Browse the repository at this point in the history
Updates manager/manager.go to use the function MaxRecvMsgSize, instead
of the deprecated equivalent MaxMsgSize.

Signed-off-by: Drew Erny <drew.erny@docker.com>
  • Loading branch information
dperny committed May 14, 2018
1 parent 8dc087b commit 3cac027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func New(config *Config) (*Manager, error) {
grpc.Creds(config.SecurityConfig.ServerTLSCreds),
grpc.StreamInterceptor(streamInterceptorWrapper),
grpc.UnaryInterceptor(unaryInterceptorWrapper),
grpc.MaxMsgSize(transport.GRPCMaxMsgSize),
grpc.MaxRecvMsgSize(transport.GRPCMaxMsgSize),
}

m := &Manager{
Expand Down

0 comments on commit 3cac027

Please sign in to comment.