src/go/plugin/go.d/modules/isc_dhcpd/init.go
Method DHCPd.validateConfig
has 5 return statements (exceeds 4 allowed). Open
Open
func (d *DHCPd) validateConfig() error {
if d.Config.LeasesPath == "" {
return errors.New("'lease_path' parameter not set")
}
if len(d.Config.Pools) == 0 {