mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-14 13:58:49 +00:00
PMM-7 add name to copy.
This commit is contained in:
parent
f62273552e
commit
d8c068d8e1
@ -53,7 +53,8 @@ func newInstance(dsn string) (*instance, error) {
|
||||
// copy returns a copy of the instance.
|
||||
func (i *instance) copy() *instance {
|
||||
return &instance{
|
||||
dsn: i.dsn,
|
||||
dsn: i.dsn,
|
||||
name: i.name,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user