From 771fc6c78d72db8c8909b733fc7db07742d91041 Mon Sep 17 00:00:00 2001 From: Dan Cech Date: Thu, 11 Jan 2024 22:59:12 +0100 Subject: [PATCH] Fix issue registering dashboard summary resource (#80402) --- pkg/registry/apis/dashboard/register.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/registry/apis/dashboard/register.go b/pkg/registry/apis/dashboard/register.go index 918f2506ffc..7acf642e0d1 100644 --- a/pkg/registry/apis/dashboard/register.go +++ b/pkg/registry/apis/dashboard/register.go @@ -180,9 +180,9 @@ func (b *DashboardsAPIBuilder) GetAPIGroupInfo( } // Summary - resourceInfo = v0alpha1.DashboardSummaryResourceInfo - storage[resourceInfo.StoragePath()] = &summaryStorage{ - resource: resourceInfo, + resourceInfo2 := v0alpha1.DashboardSummaryResourceInfo + storage[resourceInfo2.StoragePath()] = &summaryStorage{ + resource: resourceInfo2, access: b.access, tableConverter: store.TableConvertor, }