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.
pull/4453/head
Jeff Mitchell 2 years ago committed by GitHub
parent 694db71004
commit c3297bb96f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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),

Loading…
Cancel
Save