-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(upgrade): look for version string in logs bottom up (#8926)
For in place upgrade, the container remains the same and the logs have the version string twice, one for the old container and one for the new container. We want the version string in the logs for the new container. Hence, we look for the string in the logs bottom up by using strings.LastIndex instead of strings.Index.
- Loading branch information
1 parent
8cae87a
commit 7fc0d93
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters