Fix innefectual assigment
This commit is contained in:
committed by
Roberto Jiménez Sánchez
parent
1912c4ccc3
commit
4b8e565a16
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user