fix log
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-10 14:53:17 +11:00
parent de92440a58
commit 5087c2a646

View File

@@ -197,7 +197,7 @@ func main() {
maxDiff := time.Duration(*vAllowedDiff) * time.Second
if diff > maxDiff || diff < -maxDiff {
fmt.Printf("ESXi %s time differs from local time by more than %d seconds (ESXi: %v, Local: %v)", hs.Name, *vAllowedDiff, esxiTimeLocal, localTime)
log.Printf("ESXi %s time differs from local time by more than %d seconds (ESXi: %v, Local: %v)", hs.Name, *vAllowedDiff, esxiTimeLocal, localTime)
// Get the cluster name
if hs.Parent.Type == "ClusterComputeResource" {