From 0d45ac14e92a9b63f7e31dab5a9325b26e8a3e12 Mon Sep 17 00:00:00 2001 From: yylt Date: Fri, 16 Jul 2021 11:44:55 +0800 Subject: [PATCH] interface about shim build check Signed-off-by: Yang Yang --- runtime/v2/shim.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/v2/shim.go b/runtime/v2/shim.go index 893926c18..c2c290fa3 100644 --- a/runtime/v2/shim.go +++ b/runtime/v2/shim.go @@ -183,6 +183,8 @@ func cleanupAfterDeadShim(ctx context.Context, id, ns string, rt *runtime.TaskLi }) } +var _ runtime.Task = &shim{} + type shim struct { bundle *Bundle client *ttrpc.Client