Skip to content

Commit

Permalink
chore: Remove URL from table view for serviceregistry list command
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Jul 7, 2021
1 parent e1f5747 commit ce2cdf3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/cmd/registry/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
type RegistryRow struct {
ID string `json:"id" header:"ID"`
Name string `json:"name" header:"Name"`
URL string `json:"registryUrl" header:"Registry URL"`
Owner string `json:"owner" header:"Owner"`
Status string `json:"status" header:"Status"`
}
Expand Down Expand Up @@ -137,7 +136,6 @@ func mapResponseItemsToRows(registries *[]srsmgmtv1.RegistryRest) []RegistryRow
row := RegistryRow{
ID: fmt.Sprint(k.Id),
Name: k.GetName(),
URL: k.GetRegistryUrl(),
Status: string(k.GetStatus()),
Owner: k.GetOwner(),
}
Expand Down

0 comments on commit ce2cdf3

Please sign in to comment.