From 6574055dec09acad75a9f80f5bf10f792b0c42bc Mon Sep 17 00:00:00 2001 From: Kenfe-Mickael Laventure Date: Fri, 23 Jun 2017 17:55:23 -0700 Subject: [PATCH] linux: Pass correct type when emitting RuntimeDelete event Signed-off-by: Kenfe-Mickael Laventure --- linux/runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/runtime.go b/linux/runtime.go index dd3c22f9c..efb3ff5d7 100644 --- a/linux/runtime.go +++ b/linux/runtime.go @@ -241,7 +241,7 @@ func (r *Runtime) Delete(ctx context.Context, c plugin.Task) (*plugin.Exit, erro bundle = loadBundle(filepath.Join(r.root, namespace, lc.containerID), namespace) i = c.Info() ) - if err := r.emit(ctx, "/runtime/delete", eventsapi.RuntimeDelete{ + if err := r.emit(ctx, "/runtime/delete", &eventsapi.RuntimeDelete{ ID: i.ID, Runtime: i.Runtime, ExitStatus: rsp.ExitStatus,