github.com/netdata/go.d.plugin@v0.58.1/modules/chrony/init.go (about)

     1  // SPDX-License-Identifier: GPL-3.0-or-later
     2  
     3  package chrony
     4  
     5  import (
     6  	"errors"
     7  )
     8  
     9  func (c Chrony) validateConfig() error {
    10  	if c.Address == "" {
    11  		return errors.New("empty 'address'")
    12  	}
    13  	return nil
    14  }