fix(outputs.azure_data_explorer): update test call to NewSerializer (#12291)
This commit is contained in:
parent
9b220e47f1
commit
c6dbc3f689
|
|
@ -159,7 +159,7 @@ func TestWrite(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCreateAzureDataExplorerTable(t *testing.T) {
|
func TestCreateAzureDataExplorerTable(t *testing.T) {
|
||||||
serializer, _ := telegrafJson.NewSerializer(time.Second, "", "")
|
serializer, _ := telegrafJson.NewSerializer(telegrafJson.FormatConfig{TimestampUnits: time.Second})
|
||||||
plugin := AzureDataExplorer{
|
plugin := AzureDataExplorer{
|
||||||
Endpoint: "someendpoint",
|
Endpoint: "someendpoint",
|
||||||
Database: "databasename",
|
Database: "databasename",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue