better handle skipped inventories
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2026-01-20 17:18:43 +11:00
1 parent 7ea02be91a
commit c8bb30c788
4 files changed
+32 -14

No files matched your search

+2 -1
View File
@@ -83,7 +83,8 @@ func (h *Handler) VmTrace(w http.ResponseWriter, r *http.Request) {
ts := time.Unix(lifecycle.CreationTime, 0).Local().Format("2006-01-02 15:04:05")
if lifecycle.CreationApprox {
creationLabel = fmt.Sprintf("%s (approx. earliest snapshot)", ts)
creationApprox = true
// dont double up on the approximate text
//creationApprox = true
} else {
creationLabel = ts
}