mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
naming lint (#537)
This commit is contained in:
parent
ac66c95be0
commit
d811a31f63
@ -50,7 +50,7 @@ func (c *adminListOrganizationsCommand) run(_ *cobra.Command, _ []string) {
|
||||
t := table.NewWriter()
|
||||
t.SetOutputMirror(os.Stdout)
|
||||
t.SetStyle(table.StyleColoredDark)
|
||||
t.AppendHeader(table.Row{"Token", "Description"})
|
||||
t.AppendHeader(table.Row{"Organization Token", "Description"})
|
||||
for _, org := range resp.Payload.Organizations {
|
||||
t.AppendRow(table.Row{org.Token, org.Description})
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ func (c *orgMembershipsCommand) run(_ *cobra.Command, _ []string) {
|
||||
t := table.NewWriter()
|
||||
t.SetOutputMirror(os.Stdout)
|
||||
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 {
|
||||
t.AppendRow(table.Row{i.Token, i.Description, i.Admin})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user