From 61dd708a4a13c6b244c8d5e13c2091d59dd8c23e Mon Sep 17 00:00:00 2001 From: eveneast <166489430+eveneast@users.noreply.github.com> Date: Thu, 2 May 2024 18:54:16 +0800 Subject: [PATCH] chore: fix function name in comment (#2430) Signed-off-by: eveneast --- pkg/completion/completion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/completion/completion.go b/pkg/completion/completion.go index a174c9a..640fdf0 100644 --- a/pkg/completion/completion.go +++ b/pkg/completion/completion.go @@ -117,7 +117,7 @@ func createAURList(ctx context.Context, client httpRequestDoer, aurURL string, o return nil } -// CreatePackageList appends Repo packages to completion cache. +// createRepoList appends Repo packages to completion cache. func createRepoList(dbExecutor PkgSynchronizer, out io.Writer) error { for _, pkg := range dbExecutor.SyncPackages() { _, err := io.WriteString(out, pkg.Name()+"\t"+pkg.DB().Name()+"\n")