From 51ff9530924ca53c88c869a69b545340b65535d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sat, 29 Jun 2024 09:58:05 +0200 Subject: [PATCH] Make godot linter happy about periods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anders F Björklund --- pkg/cacheutil/cacheutil.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/cacheutil/cacheutil.go b/pkg/cacheutil/cacheutil.go index 9b8ae8a073df..e196c0b225e5 100644 --- a/pkg/cacheutil/cacheutil.go +++ b/pkg/cacheutil/cacheutil.go @@ -10,7 +10,7 @@ import ( "github.com/lima-vm/lima/pkg/limayaml" ) -// NerdctlArchive returns the basename of the archive +// NerdctlArchive returns the basename of the archive. func NerdctlArchive(y *limayaml.LimaYAML) string { if *y.Containerd.System || *y.Containerd.User { for _, f := range y.Containerd.Archives { @@ -22,6 +22,8 @@ func NerdctlArchive(y *limayaml.LimaYAML) string { return "" } +// EnsureNerdctlArchiveCache prefetches the archive into the cache. +// // EnsureNerdctlArchiveCache prefetches the nerdctl-full-VERSION-GOOS-GOARCH.tar.gz archive // into the cache before launching the hostagent process, so that we can show the progress in tty. // https://github.com/lima-vm/lima/issues/326