From 6fc8567ce62cb479a230c7516565c47ec29ea286 Mon Sep 17 00:00:00 2001 From: Wayne Cheng Date: Fri, 5 Jan 2024 09:45:15 +0800 Subject: [PATCH] check lint Signed-off-by: Wayne Cheng --- cli/command/manifest/list.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/command/manifest/list.go b/cli/command/manifest/list.go index 43b55e9341..759f0a51aa 100644 --- a/cli/command/manifest/list.go +++ b/cli/command/manifest/list.go @@ -1,7 +1,6 @@ package manifest import ( - "context" "sort" "github.com/distribution/reference" @@ -28,7 +27,7 @@ func newListCommand(dockerCli command.Cli) *cobra.Command { Short: "List local manifest lists", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { - return runList(cmd.Context(), dockerCli, options) + return runList(dockerCli, options) }, } @@ -38,7 +37,7 @@ func newListCommand(dockerCli command.Cli) *cobra.Command { return cmd } -func runList(ctx context.Context, dockerCli command.Cli, options listOptions) error { +func runList(dockerCli command.Cli, options listOptions) error { manifestStore := dockerCli.ManifestStore() var manifestLists []reference.Reference