From 5e9019318039a5737e6921b0a3f138ec97cf6a21 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Fri, 21 Jan 2022 17:23:04 +0100 Subject: [PATCH] etcd: fix config clone --- kvdb/etcd/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kvdb/etcd/config.go b/kvdb/etcd/config.go index 6d060e895..03cdb489f 100644 --- a/kvdb/etcd/config.go +++ b/kvdb/etcd/config.go @@ -61,6 +61,7 @@ func (c *Config) CloneWithSubNamespace(subNamespace string) *Config { KeyFile: c.KeyFile, InsecureSkipVerify: c.InsecureSkipVerify, CollectStats: c.CollectStats, + MaxMsgSize: c.MaxMsgSize, SingleWriter: c.SingleWriter, } } @@ -81,6 +82,7 @@ func (c *Config) CloneWithSingleWriter() *Config { KeyFile: c.KeyFile, InsecureSkipVerify: c.InsecureSkipVerify, CollectStats: c.CollectStats, + MaxMsgSize: c.MaxMsgSize, SingleWriter: true, } }