Skip to content

Commit 0fa8e1f

Browse files
committed
review fixes (thanks copilot)
1 parent 01ba80f commit 0fa8e1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/cmd/group_aws_migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var groupAwsMigrationStartCmd = &cobra.Command{
121121
return err
122122
}
123123

124-
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Millisecond)
124+
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Minute)
125125
defer cancel()
126126

127127
for {

internal/turso/groups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ func (d *GroupsClient) AbortAwsMigration(group string) error {
430430

431431
if r.StatusCode != http.StatusOK {
432432
err := parseResponseError(r)
433-
return fmt.Errorf("failed to start group migration: %w", err)
433+
return fmt.Errorf("failed to abort group migration: %w", err)
434434
}
435435
return nil
436436
}

0 commit comments

Comments
 (0)