fortify: print short instance id in non-json short mode
All checks were successful
Tests / Go tests (push) Successful in 1m23s
Nix / NixOS tests (push) Successful in 3m28s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
Ophestra 2024-12-22 11:02:19 +09:00
parent 5c73acb56f
commit e8594cf670
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q

View File

@ -161,7 +161,7 @@ func printPs(short bool) {
for _, instance := range entries { for _, instance := range entries {
if !flagJSON { if !flagJSON {
fmt.Println(instance.ID.String()) fmt.Println(instance.ID.String()[:8])
} else { } else {
v = append(v, instance.ID.String()) v = append(v, instance.ID.String())
} }