Skip to content

Commit

Permalink
Fix the issue that merge not work with official offline package (#1121)
Browse files Browse the repository at this point in the history
Close #1120

Co-authored-by: Ti Chi Robot <[email protected]>
  • Loading branch information
lucklove and ti-chi-bot authored Feb 2, 2021
1 parent 5380253 commit 4d93059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repository/merge_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func component2Diff(name string, baseItem v1manifest.ComponentItem, baseManifest
}

// this version not exits in base
if baseManifest.VersionListWithYanked(plat)[ver].URL == "" {
if baseManifest.VersionList(plat)[ver].URL == "" {
osArch := strings.Split(plat, "/")
if len(osArch) != 2 {
continue
Expand Down

0 comments on commit 4d93059

Please sign in to comment.