Skip to content

Commit

Permalink
Fix nightly clone
Browse files Browse the repository at this point in the history
Close #1108
  • Loading branch information
lucklove committed Feb 22, 2021
1 parent 9e4d4e0 commit 9876f6c
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 9876f6c

Please sign in to comment.