Skip to content

Commit d8c068d

Browse files
committed
PMM-7 add name to copy.
1 parent f622735 commit d8c068d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

collector/instance.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ func newInstance(dsn string) (*instance, error) {
5353
// copy returns a copy of the instance.
5454
func (i *instance) copy() *instance {
5555
return &instance{
56-
dsn: i.dsn,
56+
dsn: i.dsn,
57+
name: i.name,
5758
}
5859
}
5960

0 commit comments

Comments
 (0)