Skip to content

Commit

Permalink
Exposing GetContainer method as protected to allow customization (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
thepirat000 committed Mar 13, 2024
1 parent 964ae25 commit 6d39610
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to Audit.NET and its extensions will be documented in this f

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [25.0.3] - 2024-03-12:
- Audit.NET.AzureCosmos: Exposing GetContainer method as protected to allow customization (#655)
- Audit.NET.EventLog.Core: Security upgrade Microsoft.Windows.Compatibility from 8.0.1 to 8.0.3 (#656)

## [25.0.2] - 2024-03-11:
- Audit.NET.AzureStorageBlobs: Adding ability to configure Tags for the audit event BLOBs (#654)

Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>25.0.2</Version>
<Version>25.0.3</Version>
<PackageReleaseNotes></PackageReleaseNotes>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private CosmosClient InitializeClient(AuditEvent auditEvent)
return CosmosClient;
}

private Container GetContainer(AuditEvent auditEvent)
protected Container GetContainer(AuditEvent auditEvent)

Check warning on line 189 in src/Audit.NET.AzureCosmos/Providers/AzureCosmosDataProvider.Cosmos.cs

View workflow job for this annotation

GitHub Actions / build_and_test

Return type of 'AzureCosmosDataProvider.GetContainer(AuditEvent)' is not CLS-compliant
{
var client = GetClient(auditEvent);
return client.GetContainer(Database.GetValue(auditEvent), Container.GetValue(auditEvent));
Expand Down

0 comments on commit 6d39610

Please sign in to comment.