Remove worker type from CLI output (#4396)

This does not currently remove the field from the message on the API but
since it will now always show `pki` it's meaningless and causing
confusion for some users.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2024-02-23 10:33:57 -05:00
1 parent 694db71004
commit c3297bb96f
1 file changed
-5
@@ -193,11 +193,6 @@ func (c *Command) printListTable(items []*workers.Worker) string {
fmt.Sprintf(" Scope ID: %s", item.ScopeId),
)
}
if item.Type != "" {
output = append(output,
fmt.Sprintf(" Type: %s", item.Type),
)
}
if item.Version > 0 {
output = append(output,
fmt.Sprintf(" Version: %d", item.Version),