From 666fd712cdf319a2d44784c658deaf5a1cd82830 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 17 Jan 2024 13:23:49 +0000 Subject: [PATCH] Add commit hashes to logged versions in upgrader (#4090) So, we know that we upgrade from and to different builds/snapshots, not the same. --- testing/upgradetest/upgrader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/upgradetest/upgrader.go b/testing/upgradetest/upgrader.go index d3a94c1ad3a..c9b23203e20 100644 --- a/testing/upgradetest/upgrader.go +++ b/testing/upgradetest/upgrader.go @@ -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 {