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 2fd5889 commit a88364cCopy full SHA for a88364c
cli/sharing.go
@@ -11,6 +11,8 @@ import (
11
"github.com/coder/serpent"
12
)
13
14
+const defaultGroupDisplay = "-"
15
+
16
type workspaceShareRow struct {
17
User string `table:"user"`
18
Group string `table:"group,default_sort"`
@@ -172,7 +174,7 @@ func (r *RootCmd) shareWorkspace(orgContext *OrganizationContext) *serpent.Comma
172
174
173
175
outputRows = append(outputRows, workspaceShareRow{
176
User: user.Username,
- Group: "-",
177
+ Group: defaultGroupDisplay,
178
Role: user.Role,
179
})
180
}
cli/sharing_test.go
@@ -3,7 +3,6 @@ package cli_test
3
import (
4
"bytes"
5
"fmt"
6
- "slices"
7
"strings"
8
"testing"
9
0 commit comments