naming lint (#537)

This commit is contained in:
Michael Quigley 2024-12-10 14:30:37 -05:00
parent ac66c95be0
commit d811a31f63
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ func (c *adminListOrganizationsCommand) run(_ *cobra.Command, _ []string) {
t := table.NewWriter() t := table.NewWriter()
t.SetOutputMirror(os.Stdout) t.SetOutputMirror(os.Stdout)
t.SetStyle(table.StyleColoredDark) t.SetStyle(table.StyleColoredDark)
t.AppendHeader(table.Row{"Token", "Description"}) t.AppendHeader(table.Row{"Organization Token", "Description"})
for _, org := range resp.Payload.Organizations { for _, org := range resp.Payload.Organizations {
t.AppendRow(table.Row{org.Token, org.Description}) t.AppendRow(table.Row{org.Token, org.Description})
} }

View File

@ -63,7 +63,7 @@ func (c *orgMembershipsCommand) run(_ *cobra.Command, _ []string) {
t := table.NewWriter() t := table.NewWriter()
t.SetOutputMirror(os.Stdout) t.SetOutputMirror(os.Stdout)
t.SetStyle(table.StyleColoredDark) t.SetStyle(table.StyleColoredDark)
t.AppendHeader(table.Row{"Token", "Description", "Admin?"}) t.AppendHeader(table.Row{"Organization Token", "Description", "Admin?"})
for _, i := range in.Payload.Memberships { for _, i := range in.Payload.Memberships {
t.AppendRow(table.Row{i.Token, i.Description, i.Admin}) t.AppendRow(table.Row{i.Token, i.Description, i.Admin})
} }