Fix telemetry typo and simplify microcode script

Correct telemetry status spelling ("sucess" → "success") and map status values accordingly. Normalize EOF/newline handling in several misc/data files. Major refactor of tools/pve/microcode.sh: update copyright/author, remove the verbose CPU detection/display helpers, simplify current microcode detection, streamline package discovery and selection logic, switch wget to curl, clean up download/install flow (use basename and remove /tmp usage), simplify UI/messages and exit handling, and remove live microcode reload/version post-install checks.
This commit is contained in:
CanbiZ (MickLesk)
2026-02-10 08:09:26 +01:00
parent 35833c402a
commit b034d5b05d
5 changed files with 8 additions and 8 deletions

View File

@@ -264,4 +264,4 @@ This is an automated test message.
// Helper for timeout context
func newTimeoutContext(d time.Duration) (context.Context, context.CancelFunc) {
return context.WithTimeout(context.Background(), d)
}
}

View File

@@ -155,4 +155,4 @@ func (c *Cache) InvalidateDashboard(ctx context.Context) {
func dashboardCacheKey(days int) string {
return "dashboard:" + string(rune(days))
}
}

View File

@@ -1484,4 +1484,4 @@ func DashboardHTML() string {
</script>
</body>
</html>`
}
}

View File

@@ -1024,4 +1024,4 @@ func splitCSV(s string) []string {
}
}
return out
}
}