From 5aed493ce749f65c504ce1629702ef1aef6b9b16 Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Thu, 12 Aug 2021 19:20:32 +0100 Subject: [PATCH] Update pkg/cmd/registry/artifact/crud/list/list.go Co-authored-by: Enda --- pkg/cmd/registry/artifact/crud/list/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {