Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Commit b516297

Browse files
committed
update typo in private method GetTemplatePostData
1 parent 03f1ab2 commit b516297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticsearchSinkState.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void RegisterTemplateIfNeeded()
170170
}
171171
}
172172

173-
var result = _client.Indices.PutTemplateForAll<StringResponse>(_templateName, GetTempatePostData(),
173+
var result = _client.Indices.PutTemplateForAll<StringResponse>(_templateName, GetTemplatePostData(),
174174
new PutIndexTemplateRequestParameters
175175
{
176176
IncludeTypeName = IncludeTypeName ? true : (bool?) null
@@ -201,7 +201,7 @@ public void RegisterTemplateIfNeeded()
201201
}
202202
}
203203

204-
private PostData GetTempatePostData()
204+
private PostData GetTemplatePostData()
205205
{
206206
//PostData no longer exposes an implict cast from object. Previously it supported that and would inspect the object Type to
207207
//determine if it it was a litteral string to write directly or if it was an object that it needed to serialse. Now the onus is

0 commit comments

Comments
 (0)