Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot[bot] committed Jan 10, 2024
2 parents 64dd736 + 30d4413 commit 653fb94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/repository/clone_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,6 @@ func checkVersion(options CloneOptions, versions set.StringSet, version string)
func combineVersions(componentVersions *[]string,
manifest *v1manifest.Component, oss, archs,
globalVersions []string) (set.StringSet, error) {
if (componentVersions == nil || len(*componentVersions) < 1) && len(globalVersions) < 1 {
return nil, errors.New("no version specified")
}

result := set.NewStringSet()
for _, os := range oss {
for _, arch := range archs {
Expand Down

0 comments on commit 653fb94

Please sign in to comment.