Skip to content

Commit 4596db2

Browse files
committed
Also need to clone the Multi field
1 parent d4519cb commit 4596db2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

connector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ type Config struct {
447447
// awkward to use.
448448
set []string `env:"set"`
449449

450+
// Only used in newConfig() and tests; joined in the Multi field at the end.
450451
multiHost []string
451452
multiHostaddr []netip.Addr
452453
multiPort []uint16

0 commit comments

Comments
 (0)