From f31be308fa39150af4939fec0e1f0bb005cd11f4 Mon Sep 17 00:00:00 2001 From: "Anuraag (Rag) Agrawal" Date: Tue, 9 Apr 2024 13:40:08 +0900 Subject: [PATCH] Fix WithSnapshotter doc to reference non-deprecated method (#2180) Signed-off-by: Anuraag Agrawal --- experimental/checkpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/checkpoint.go b/experimental/checkpoint.go index eb423305d6..580dd023b7 100644 --- a/experimental/checkpoint.go +++ b/experimental/checkpoint.go @@ -30,7 +30,7 @@ type EnableSnapshotterKey = ctxkey.EnableSnapshotterKey // WithSnapshotter enables snapshots. // Passing the returned context to a exported function invocation enables snapshots, -// and allows host functions to retrieve the Snapshotter using SnapshotterKey. +// and allows host functions to retrieve the Snapshotter using GetSnapshotter. func WithSnapshotter(ctx context.Context) context.Context { return context.WithValue(ctx, ctxkey.EnableSnapshotterKey{}, struct{}{}) }