summaryrefslogtreecommitdiff
path: root/plugin/plaintext/json_in.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/plaintext/json_in.go')
-rw-r--r--plugin/plaintext/json_in.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/plaintext/json_in.go b/plugin/plaintext/json_in.go
index a4643609..221f5a0e 100644
--- a/plugin/plaintext/json_in.go
+++ b/plugin/plaintext/json_in.go
@@ -13,10 +13,10 @@ const (
func init() {
lib.RegisterInputConfigCreator(TypeJSONIn, func(action lib.Action, data json.RawMessage) (lib.InputConverter, error) {
- return newTextIn(TypeJSONIn, DescJSONIn, action, data)
+ return NewTextInFromBytes(TypeJSONIn, DescJSONIn, action, data)
})
- lib.RegisterInputConverter(TypeJSONIn, &TextIn{
+ lib.RegisterInputConverter(TypeJSONIn, &text_in{
Description: DescJSONIn,
})
}