Skip to content

Commit

Permalink
session: fix upgrade logic when bootstrap (#12827) (#13376)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta authored and sre-bot committed Nov 13, 2019
1 parent f4af2bb commit ad738bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion session/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ func upgrade(s Session) {
upgradeToVer28(s)
}

// upgradeToVer29 only need to be run when the current version is 28.
if ver == version28 {
upgradeToVer29(s)
}
Expand All @@ -533,7 +534,7 @@ func upgrade(s Session) {
}

if ver < version32 {
upgradeToVer29(s)
upgradeToVer32(s)
}

if ver < version33 {
Expand Down

0 comments on commit ad738bc

Please sign in to comment.