Skip to content

Commit 917c29a

Browse files
amirejazclaude
andcommitted
Rename migrations parameter to keyMigrations in MigrateSystemKeys
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 294f42a commit 917c29a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/secrets/migration.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ var SystemKeyPrefixMappings = []struct {
3838
// Write-before-delete ordering ensures that a crash between the two operations
3939
// leaves the secret reachable under the new key. Keys that do not exist in
4040
// provider are silently skipped, making the function safe to retry.
41-
func MigrateSystemKeys(ctx context.Context, provider Provider, migrations []KeyMigration) error {
42-
for _, m := range migrations {
41+
func MigrateSystemKeys(ctx context.Context, provider Provider, keyMigrations []KeyMigration) error {
42+
for _, m := range keyMigrations {
4343
// If the scoped key already exists (e.g. from a partial prior run),
4444
// skip the write and just clean up the bare key.
4545
_, err := provider.GetSecret(ctx, m.NewKey)

0 commit comments

Comments
 (0)