Fix all open go lint and vet issues
This commit is contained in:
parent
5289ffb270
commit
c703435790
37 changed files with 136 additions and 129 deletions
|
|
@ -37,8 +37,8 @@ func init() {
|
|||
Factories["ntp"] = NewNtpCollector
|
||||
}
|
||||
|
||||
// Takes a prometheus registry and returns a new Collector exposing
|
||||
// the offset between ntp and the current system time.
|
||||
// NewNtpCollector returns a new Collector exposing the offset between ntp and
|
||||
// the current system time.
|
||||
func NewNtpCollector() (Collector, error) {
|
||||
warnDeprecated("ntp")
|
||||
if *ntpServer == "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue