Fix innefectual assigment

This commit is contained in:
Roberto Jimenez Sanchez
2025-07-11 23:02:19 +02:00
committed by Roberto Jiménez Sánchez
parent 1912c4ccc3
commit 4b8e565a16
+1 -1
View File
@@ -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
}