We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fc2147 commit b1ccefaCopy full SHA for b1ccefa
cmd/connector/conn_list.go
@@ -7,6 +7,7 @@ import (
7
"io"
8
"net/http"
9
"sort"
10
+ "strings"
11
12
"github.com/olekukonko/tablewriter"
13
"github.com/sailpoint-oss/sailpoint-cli/internal/client"
@@ -95,8 +96,9 @@ func newConnListCmd(client client.Client) *cobra.Command {
95
96
tagNames = append(tagNames, t.TagName)
97
versions = append(versions, fmt.Sprintf("%d", t.ActiveVersion))
98
}
- tagsString := fmt.Sprintf("%s", tagNames)
99
- versionsString := fmt.Sprintf("%s", versions)
+ // Format the tags and versions as comma-separated lists
100
+ tagsString := strings.Join(tagNames, ", ")
101
+ versionsString := strings.Join(versions, ", ")
102
103
// Add the row to the table
104
row := []string{
0 commit comments