From ce2cdf32ac5c00fd238c5db9f4eeea7952e3e867 Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Wed, 7 Jul 2021 14:40:08 +0100 Subject: [PATCH] chore: Remove URL from table view for serviceregistry list command --- pkg/cmd/registry/list/list.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/cmd/registry/list/list.go b/pkg/cmd/registry/list/list.go index 24feacfaf3..ec34386b9a 100644 --- a/pkg/cmd/registry/list/list.go +++ b/pkg/cmd/registry/list/list.go @@ -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"` } @@ -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(), }