Skip to content

Commit

Permalink
renmae blob to filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisnes committed Aug 12, 2024
1 parent 5522a7d commit cfbab23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ public class PolicyFactory(IAzureClientFactory<BlobServiceClient> factory, IOpti
public IOptionsFactory<PolicyOptions> Options { get; } = options;

/// <inheritdoc/>
public IPolicyRepositoryV2 Create(AccountType account, string blob)
public IPolicyRepositoryV2 Create(AccountType account, string filepath)
{
var options = Options.Create(account.ToString());
var client = Factory
.CreateClient(account.ToString())
.CreateBlobContainer(options.Container).Value
.GetBlobClient(blob);
.GetBlobClient(filepath);

return new PolicyRepositoryV2(client, options);
}
Expand Down

0 comments on commit cfbab23

Please sign in to comment.