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

This commit is contained in:
2026-01-16 17:53:24 +11:00
parent 1cd1046433
commit a12fe5cad0
3 changed files with 59 additions and 13 deletions

View File

@@ -468,6 +468,7 @@ ON CONFLICT ("Vcenter","VmId","VmUuid") DO UPDATE SET
INSERT OR REPLACE INTO vm_lifecycle_cache ("Vcenter","VmId","VmUuid","Name","Cluster","FirstSeen","LastSeen")
VALUES (?,?,?,?,?,?,?)
`
args = []interface{}{vcenter, vmID, vmUUID, name, cluster, seen.Unix(), seen.Unix()}
}
_, err := dbConn.ExecContext(ctx, query, args...)
return err