Browse Source

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

YuShifan 4 years atrás
parent
commit
92439f763b
1 changed files with 2 additions and 2 deletions
  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.",