Fix printf formatting

This commit is contained in:
Thomas Pelletier
2016-01-31 17:02:23 +01:00
parent 14c964fc02
commit 8176e30b38
5 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ func (f *matchFilterFn) call(node interface{}, ctx *queryContext) {
fn, ok := (*ctx.filters)[f.Name]
if !ok {
panic(fmt.Sprintf("%s: query context does not have filter '%s'",
f.Pos, f.Name))
f.Pos.String(), f.Name))
}
switch castNode := tomlValueCheck(node, ctx).(type) {
case *TomlTree: