From 4e03e87547853523d4ff941935a6ef1712518c61 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Tue, 12 Jan 2021 12:36:17 -0800 Subject: Fix simple mistakes identified by goreportcard. These are primarily simplification and lint mistakes. However, minor fixes are also included and tests added where appropriate. PiperOrigin-RevId: 351425971 --- pkg/shim/v2/api.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/shim/v2') diff --git a/pkg/shim/v2/api.go b/pkg/shim/v2/api.go index dbe5c59f6..5a60a04db 100644 --- a/pkg/shim/v2/api.go +++ b/pkg/shim/v2/api.go @@ -19,4 +19,5 @@ import ( "github.com/containerd/containerd/api/events" ) +// TaskOOM is an alias for events.TaskOOM. type TaskOOM = events.TaskOOM -- cgit v1.2.3