From d07da4aaff8c0af7faa6c61fe0ae72d3b72fafc8 Mon Sep 17 00:00:00 2001 From: weiliang <1067599390@qq.com> Date: Tue, 15 Aug 2023 15:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3harbor=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=87=8D=E5=A4=8D=E7=94=9F=E6=88=90Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/export/imagelist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/export/imagelist.go b/cmd/export/imagelist.go index f0bc9c73..a3ab350b 100644 --- a/cmd/export/imagelist.go +++ b/cmd/export/imagelist.go @@ -17,7 +17,7 @@ var imageCmd = &cobra.Command{ Short: "导出harbor项目内的镜像列表", Run: func(cmd *cobra.Command, args []string) { if runErr := command.SetExecutorDefault( - command.Item{Cmd: cmd, Fnc: harbor.ImageList, DefaultConfig: harborConfig}); runErr.Err != nil { + command.Item{Cmd: cmd, Fnc: harbor.ImageList, ConfigFilePath: configFile, DefaultConfig: harborConfig}); runErr.Err != nil { log.Println(runErr.Msg) panic(runErr.Err) }