From fceab7f4c4a0267ef86c63610ca2ee7a1ac50665 Mon Sep 17 00:00:00 2001 From: "Kang.Zhang" Date: Tue, 26 Apr 2022 10:44:45 +0800 Subject: [PATCH] remove duplicate Signed-off-by: Kang.Zhang --- pkg/cri/opts/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cri/opts/container.go b/pkg/cri/opts/container.go index 984ce8b88..85fd2fdfe 100644 --- a/pkg/cri/opts/container.go +++ b/pkg/cri/opts/container.go @@ -35,7 +35,7 @@ import ( ) // WithNewSnapshot wraps `containerd.WithNewSnapshot` so that if creating the -// snapshot fails we make sure the image is actually unpacked and and retry. +// snapshot fails we make sure the image is actually unpacked and retry. func WithNewSnapshot(id string, i containerd.Image, opts ...snapshots.Opt) containerd.NewContainerOpts { f := containerd.WithNewSnapshot(id, i, opts...) return func(ctx context.Context, client *containerd.Client, c *containers.Container) error {