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