Fix innefectual assigment

pull/108045/head
Roberto Jimenez Sanchez 2 weeks ago committed by Roberto Jiménez Sánchez
parent 1912c4ccc3
commit 4b8e565a16
  1. 2
      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
}

Loading…
Cancel
Save