fix(outputs.azure_data_explorer): update test call to NewSerializer (#12291)

This commit is contained in:
Joshua Powers 2022-11-28 08:39:13 -07:00 committed by GitHub
parent 9b220e47f1
commit c6dbc3f689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ func TestWrite(t *testing.T) {
}
func TestCreateAzureDataExplorerTable(t *testing.T) {
serializer, _ := telegrafJson.NewSerializer(time.Second, "", "")
serializer, _ := telegrafJson.NewSerializer(telegrafJson.FormatConfig{TimestampUnits: time.Second})
plugin := AzureDataExplorer{
Endpoint: "someendpoint",
Database: "databasename",