fortify: print short instance id in non-json short mode
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
5c73acb56f
commit
e8594cf670
2
print.go
2
print.go
@ -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())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user