diff --git a/cmd/tiller/tiller.go b/cmd/tiller/tiller.go index 8e8c794d9..88226fd44 100644 --- a/cmd/tiller/tiller.go +++ b/cmd/tiller/tiller.go @@ -177,8 +177,7 @@ func start() { // If set, configure gRPC max msg size if *maxMsgSize > 0 { - opts = append(opts, grpc.MaxRecvMsgSize(*maxMsgSize)) - opts = append(opts, grpc.MaxSendMsgSize(*maxMsgSize)) + opts = append(opts, grpc.MaxRecvMsgSize(*maxMsgSize), grpc.MaxSendMsgSize(*maxMsgSize)) } rootServer = tiller.NewServer(opts...)