Update to go 1.19

This commit is contained in:
9seconds
2022-08-09 17:41:59 +03:00
parent 9d67414db6
commit f48156814b
60 changed files with 260 additions and 260 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const autoUpdatePeriod = time.Minute
// Fetch fetches the data on time drift.
func Fetch() (time.Duration, error) {
url := config.C.NTPServers[rand.Intn(len(config.C.NTPServers))] // nolint: gosec
url := config.C.NTPServers[rand.Intn(len(config.C.NTPServers))] //nolint: gosec
resp, err := ntp.Query(url)
if err != nil {