Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 12e6ad1

Browse files
committed
Add 1 to progress indicator
1 parent 7276229 commit 12e6ad1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ func (cmd *MigrateApplyCommand) Run() error {
673673
fmt.Fprintln(cmd.io.Output())
674674
fmt.Fprintf(cmd.io.Output(), "Applying changes:\n")
675675
for i, change := range changes {
676-
fmt.Fprintf(cmd.io.Output(), "[%d/%d]\n", i, len(changes))
676+
fmt.Fprintf(cmd.io.Output(), "[%d/%d]\n", i+1, len(changes))
677677
err := change.Apply()
678678
if err != nil {
679679
return err

0 commit comments

Comments
 (0)