From 4b8e565a162956e6ee81514ef03ba56447a86fae Mon Sep 17 00:00:00 2001 From: Roberto Jimenez Sanchez Date: Thu, 10 Jul 2025 15:12:14 +0200 Subject: [PATCH] Fix innefectual assigment --- pkg/registry/apis/provisioning/usage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/apis/provisioning/usage.go b/pkg/registry/apis/provisioning/usage.go index 92b6502acad..205a3018662 100644 --- a/pkg/registry/apis/provisioning/usage.go +++ b/pkg/registry/apis/provisioning/usage.go @@ -30,7 +30,7 @@ func (b *APIBuilder) collectProvisioningStats(ctx context.Context) (metrics map[ // we could discover the set of valid namespaces, but that would count everything for // each instance in cloud. ns := "default" - ctx, _, err = identity.WithProvisioningIdentity(context.Background(), ns) + ctx, _, err = identity.WithProvisioningIdentity(ctx, ns) if err != nil { return nil, err }