Skip to content

Commit

Permalink
Supply contain name when creating tenanted blob containers to ensure …
Browse files Browse the repository at this point in the history
…legacy config still works correctly. (#404)
  • Loading branch information
jongeorge1 authored Jul 21, 2022
1 parent b9ef342 commit 88cf563
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public async Task<IClaimPermissionsStore> GetClaimPermissionsStoreAsync(ITenant
BlobContainerClient container = await this.tenantBlobContainerSource.GetBlobContainerClientFromTenantAsync(
tenant,
ClaimPermissionsV2ConfigKey,
ClaimPermissionsV3ConfigKey);
ClaimPermissionsV3ConfigKey,
ClaimPermissionsRepositoryName);
return new ClaimPermissionsStore(container, await this.GetResourceAccessRuleSetStoreAsync(tenant).ConfigureAwait(false), this.serializerSettingsProvider);
}

Expand All @@ -61,7 +62,8 @@ public async Task<IResourceAccessRuleSetStore> GetResourceAccessRuleSetStoreAsyn
BlobContainerClient container = await this.tenantBlobContainerSource.GetBlobContainerClientFromTenantAsync(
tenant,
ResourceAccessRuleSetV2ConfigKey,
ResourceAccessRuleSetV3ConfigKey);
ResourceAccessRuleSetV3ConfigKey,
ResourceAccessRuleSetRepositoryName);
return new ResourceAccessRuleSetStore(container, this.serializerSettingsProvider);
}
}
Expand Down

0 comments on commit 88cf563

Please sign in to comment.