@@ -61,7 +61,7 @@ Calling ` + ticks("record::copy") + ` returns a new record, a deep-copy of the o
6161#### "clear"
6262
6363- Go: ` + ticks ("Record.Clear()" ) + `
64- - lua: ` + ticks ("lua: record:clear()" ) + `
64+ - lua: ` + ticks ("record:clear()" ) + `
6565
6666Calling ` + ticks ("record::clear" ) + ` clears the records internal state, making all its fields empty.
6767
@@ -71,7 +71,7 @@ Calling ` + ticks("record::clear") + ` clears the records internal state, making
7171#### createRecord
7272
7373- Go: ` + ticks ("Components.CreateRecord() Record" ) + `
74- - lua: ` + ticks ("createRecord -> record" ) + `
74+ - lua: ` + ticks ("createRecord() -> record" ) + `
7575
7676` + ticks ("createRecord" ) + ` is the lua equivalent of the ` + ticks ("CreateRecord" ) + ` function passed to your filter during construction.
7777It allows to create a new Record instance.
@@ -100,7 +100,7 @@ It allows to lookup a field index by its name, returning the index or nil if no
100100- Go: ` + ticks ("Components.FieldNames []string" ) + `
101101- lua: ` + ticks ("fieldNames" ) + `
102102
103- ` + ticks ("fieldNames" ) + ` is an integed -indexed table, in other words an array, containing all field names, as ` + ticks ("FieldNames" ) + ` in Go.
103+ ` + ticks ("fieldNames" ) + ` is an integer -indexed table, in other words an array, containing all field names, as ` + ticks ("FieldNames" ) + ` in Go.
104104`
105105
106106// TODO(arl): ideally this functions should not be required, but writing
@@ -150,7 +150,7 @@ func NewLUA(cfg baker.FilterParams) (baker.Filter, error) {
150150
151151 luaFunc := l .GetGlobal (dcfg .FilterName )
152152 if luaFunc .Type () == lua .LTNil {
153- return nil , fmt .Errorf ("can't find lua filter %q in script %q" , dcfg .FilterName , dcfg .Script )
153+ return nil , fmt .Errorf ("can't find lua filter function name %q in script %q" , dcfg .FilterName , dcfg .Script )
154154 }
155155
156156 f := & LUA {
0 commit comments