Fix issue registering dashboard summary resource (#80402)

This commit is contained in:
Dan Cech 2024-01-11 22:59:12 +01:00 committed by GitHub
parent 5ecc7dd2fa
commit 771fc6c78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}