Skip to content

Commit

Permalink
Add commit hashes to logged versions in upgrader
Browse files Browse the repository at this point in the history
So, we know that we upgrade from and to different builds/snapshots,
not the same.
  • Loading branch information
rdner committed Jan 17, 2024
1 parent 17f0480 commit 602f704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/upgradetest/upgrader.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func PerformUpgrade(
}
}

logger.Logf("Upgrading from version %q to version %q", startParsedVersion, endVersionInfo.Binary.String())
logger.Logf("Upgrading from version %q (%s) to version %q (%s)", startParsedVersion, startVersionInfo.Binary.Commit, endVersionInfo.Binary.String(), endVersionInfo.Binary.Commit)

upgradeCmdArgs := []string{"upgrade", endVersionInfo.Binary.String()}
if upgradeOpts.sourceURI == nil {
Expand Down

0 comments on commit 602f704

Please sign in to comment.