From e8594cf670e9c5ef22da833702d0f14fd6d0731e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 22 Dec 2024 11:02:19 +0900 Subject: [PATCH] fortify: print short instance id in non-json short mode Signed-off-by: Ophestra --- print.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print.go b/print.go index a78f4be..8c8df71 100644 --- a/print.go +++ b/print.go @@ -161,7 +161,7 @@ func printPs(short bool) { for _, instance := range entries { if !flagJSON { - fmt.Println(instance.ID.String()) + fmt.Println(instance.ID.String()[:8]) } else { v = append(v, instance.ID.String()) }