Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public abstract partial class ElasticsearchChannelBase<TEvent, TChannelOptions>
protected abstract (string, string) GetDefaultIndexTemplate(string name, string match, string mappingsName, string settingsName);


public async Task<bool> BootstrapElasticsearchAsync(BootstrapMethod bootstrapMethod, string? ilmPolicy = null, CancellationToken ctx = default)
public virtual async Task<bool> BootstrapElasticsearchAsync(BootstrapMethod bootstrapMethod, string? ilmPolicy = null, CancellationToken ctx = default)
{
if (bootstrapMethod == BootstrapMethod.None) return true;

Expand All @@ -44,7 +44,7 @@ public async Task<bool> BootstrapElasticsearchAsync(BootstrapMethod bootstrapMet
return true;
}

public bool BootstrapElasticsearch(BootstrapMethod bootstrapMethod, string? ilmPolicy = null)
public virtual bool BootstrapElasticsearch(BootstrapMethod bootstrapMethod, string? ilmPolicy = null)
{
if (bootstrapMethod == BootstrapMethod.None) return true;

Expand Down