Skip to content

Commit

Permalink
chore(confix): replace version v0.51 to v0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilkumarpilli committed Jul 18, 2024
1 parent 3304d08 commit c44de4a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/confix/cmd/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestMigrateCmd(t *testing.T) {
assert.Assert(t, strings.Contains(out.String(), "add app-db-backend key"))

// this should work
out, err = clitestutil.ExecTestCLICmd(clientCtx, cmd.MigrateCommand(), []string{"v0.51", filepath.Join(clientCtx.HomeDir, "config", "client.toml"), "--client", "--verbose"})
out, err = clitestutil.ExecTestCLICmd(clientCtx, cmd.MigrateCommand(), []string{"v0.52", filepath.Join(clientCtx.HomeDir, "config", "client.toml"), "--client", "--verbose"})
assert.NilError(t, err)
assert.Assert(t, strings.Contains(out.String(), "add keyring-default-keyname key"))
}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/confix/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var Migrations = MigrationMap{
"v0.46": PlanBuilder,
"v0.47": PlanBuilder,
"v0.50": PlanBuilder,
"v0.51": PlanBuilder,
"v0.52": PlanBuilder,
// "v0.xx.x": PlanBuilder, // add specific migration in case of configuration changes in minor versions
}

Expand Down

0 comments on commit c44de4a

Please sign in to comment.