Skip to content

Commit 8672dcb

Browse files
authored
GetDefaultComponentSettings accidentally made private should be protected (#128)
1 parent d470956 commit 8672dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Ingest.Elasticsearch/ElasticsearchChannelBase.Bootstrap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ protected async Task<bool> PutComponentTemplateAsync(BootstrapMethod bootstrapMe
293293
/// Returns default component settings template for a <see cref="ElasticsearchChannelBase{TEvent, TChannelOptions}"/>
294294
/// </summary>
295295
/// <returns>A tuple of (name, body) describing the default component template settings</returns>
296-
private (string, string) GetDefaultComponentSettings(BootstrapMethod bootstrapMethod, string indexTemplateName, string? ilmPolicy = null)
296+
protected (string, string) GetDefaultComponentSettings(BootstrapMethod bootstrapMethod, string indexTemplateName, string? ilmPolicy = null)
297297
{
298298
if (string.IsNullOrWhiteSpace(ilmPolicy))
299299
ilmPolicy = "logs";

0 commit comments

Comments
 (0)