Skip to content

Commit 84dccf9

Browse files
scripts/bumper: show correct progress output
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 3dd04dc commit 84dccf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bumper/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func main() {
199199
}
200200
for i, commit := range missingCommits {
201201
commitLogger := logger.WithField("commit", commit.Hash)
202-
commitLogger.Infof("cherry-picking commit %d/%d", i+1, len(commits))
202+
commitLogger.Infof("cherry-picking commit %d/%d", i+1, len(missingCommits))
203203
if err := cherryPick(ctx, commitLogger, commit, opts.GitCommitArgs()); err != nil {
204204
logger.WithError(err).Fatal("failed to cherry-pick commit")
205205
}

0 commit comments

Comments
 (0)