From c3297bb96f26efe0fe729f40308e7d431a6c7c1c Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 23 Feb 2024 10:33:57 -0500 Subject: [PATCH] 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. --- internal/cmd/commands/workerscmd/funcs.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/cmd/commands/workerscmd/funcs.go b/internal/cmd/commands/workerscmd/funcs.go index c8f1f41cad..83449a8f39 100644 --- a/internal/cmd/commands/workerscmd/funcs.go +++ b/internal/cmd/commands/workerscmd/funcs.go @@ -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),