diff --git a/pkg/cmd/registry/artifact/crud/list/list.go b/pkg/cmd/registry/artifact/crud/list/list.go index e159c6fe61..868be5524f 100644 --- a/pkg/cmd/registry/artifact/crud/list/list.go +++ b/pkg/cmd/registry/artifact/crud/list/list.go @@ -189,7 +189,7 @@ func runList(opts *Options) error { return nil } -func mapResponseItemsToRows(artifacts *[]registryinstanceclient.SearchedArtifact) []artifactRow { +func mapResponseItemsToRows(artifacts []registryinstanceclient.SearchedArtifact) []artifactRow { rows := []artifactRow{} for i := range *artifacts {