summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/pgbouncer/init.go
blob: 14633508577c3a8e6aab4945b709075f71c8d10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-3.0-or-later

package pgbouncer

import "errors"

func (p *PgBouncer) validateConfig() error {
	if p.DSN == "" {
		return errors.New("DSN not set")
	}
	return nil
}