mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-02 03:54:26 +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,
|
||||
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,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user