mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-02 13:42:15 +02:00
etcd: fix config clone
This commit is contained in:
@@ -61,6 +61,7 @@ func (c *Config) CloneWithSubNamespace(subNamespace string) *Config {
|
|||||||
KeyFile: c.KeyFile,
|
KeyFile: c.KeyFile,
|
||||||
InsecureSkipVerify: c.InsecureSkipVerify,
|
InsecureSkipVerify: c.InsecureSkipVerify,
|
||||||
CollectStats: c.CollectStats,
|
CollectStats: c.CollectStats,
|
||||||
|
MaxMsgSize: c.MaxMsgSize,
|
||||||
SingleWriter: c.SingleWriter,
|
SingleWriter: c.SingleWriter,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -81,6 +82,7 @@ func (c *Config) CloneWithSingleWriter() *Config {
|
|||||||
KeyFile: c.KeyFile,
|
KeyFile: c.KeyFile,
|
||||||
InsecureSkipVerify: c.InsecureSkipVerify,
|
InsecureSkipVerify: c.InsecureSkipVerify,
|
||||||
CollectStats: c.CollectStats,
|
CollectStats: c.CollectStats,
|
||||||
|
MaxMsgSize: c.MaxMsgSize,
|
||||||
SingleWriter: true,
|
SingleWriter: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user