Selaa lähdekoodia

fix(sinks): fix dataTemplate type to string (#456)

YuShifan 4 vuotta sitten
vanhempi
commit
92439f763b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      etc/sinks/properties.json

+ 2 - 2
etc/sinks/properties.json

@@ -117,9 +117,9 @@
 		}
 	}, {
 		"name": "dataTemplate",
-		"default":true, 
+		"default":"", 
 		"optional": true,
-		"type": "bool",
+		"type": "string",
 		"control": "textarea",
 		"hint": {
 			"en_US": "The golang template format string to specify the output data format. The input of the template is the sink message which is always an array of map. If no data template is specified, the raw input will be the data.",