Skip to content

Commit

Permalink
修正harbor导出配置重复生成Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
weiliang-ms committed Aug 15, 2023
1 parent d0c16e0 commit d07da4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/export/imagelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d07da4a

Please sign in to comment.