Skip to content

Commit 8d87924

Browse files
authored
golang-output-plugin: fix sample code block (fluent#1283)
Signed-off-by: Türkalp Burak Kayrancıoğlu <bkayranci@gmail.com>
1 parent 1cc0560 commit 8d87924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

development/golang-output-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import "github.com/fluent/fluent-bit-go/output"
4646
//export FLBPluginRegister
4747
func FLBPluginRegister(def unsafe.Pointer) int {
4848
// Gets called only once when the plugin.so is loaded
49-
return output.FLBPluginRegister(ctx, "gstdout", "Stdout GO!")
49+
return output.FLBPluginRegister(def, "gstdout", "Stdout GO!")
5050
}
5151

5252
//export FLBPluginInit

0 commit comments

Comments
 (0)