Skip to content

Commit

Permalink
Fix nightly clone
Browse files Browse the repository at this point in the history
  • Loading branch information
lucklove committed Feb 5, 2021
1 parent a055ad9 commit a5eb87c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/repository/clone_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@ func combineVersions(versions *[]string,
continue
}
for _, selectedVersion := range selectedVersions {
if selectedVersion == version.NightlyVersion {
selectedVersion = manifest.Nightly
}
_, found := versions[selectedVersion]
// Some TiUP components won't be bound version with TiDB, if cannot find
// selected version we download the latest version to as a alternative
Expand Down

0 comments on commit a5eb87c

Please sign in to comment.