Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit a035250

Browse files
committed
feat(diagnostics): display machine ID in diagnostics output
1 parent 06511f0 commit a035250

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/patchmon-agent/commands/diagnostics.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ func showDiagnostics() error {
5454
fmt.Printf(" Hostname: %s\n", hostname)
5555
}
5656

57+
// Show machine ID
58+
machineID := systemDetector.GetMachineID()
59+
fmt.Printf(" Machine ID: %s\n", machineID)
60+
5761
fmt.Printf("\n")
5862

5963
// Agent Information

0 commit comments

Comments
 (0)