Fixing master (#13900)

* updating api_timer_layer_generated.go

* Fixing GetFileInfos

* Fixing TestPluginAPIGetFileInfos

* Remove file.go.orig
This commit is contained in:
Ali Farooq
2020-02-14 18:08:00 -05:00
committed by GitHub
parent e4fb5791b0
commit bd9d674006
5 changed files with 12 additions and 1144 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ func (g *hooksRPCClient) {{.Name}}{{funcStyle .Params}} {{funcStyle .Return}} {
_returns := &{{.Name | obscure}}Returns{}
if g.implemented[{{.Name}}Id] {
if err := g.client.Call("Plugin.{{.Name}}", _args, _returns); err != nil {
g.Log().Error("RPC call {{.Name}} to plugin failed.", mlog.Err(err))
g.log.Error("RPC call {{.Name}} to plugin failed.", mlog.Err(err))
}
}
{{ if .Return }} return {{destruct "_returns." .Return}} {{ end }}