Skip to content

Commit

Permalink
fixing merge typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimov committed Nov 30, 2023
1 parent 1e31919 commit f61c4c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/test/endtoend/recovery/recovery_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ func RestoreTablet(t *testing.T, localCluster *cluster.LocalProcessCluster, tabl
_, err := localCluster.VtctlProcess.ExecuteCommandWithOutput("GetKeyspace", restoreKSName)

if err != nil {
tm := time.Now().UTC()
_, err := localCluster.VtctlProcess.ExecuteCommandWithOutput("CreateKeyspace", "--",
"--keyspace_type=SNAPSHOT", "--base_keyspace="+keyspaceName,
"--snapshot_time", tm.Format(time.RFC3339), restoreKSName)
"--snapshot_time", restoreTime.Format(time.RFC3339), restoreKSName)
require.Nil(t, err)
}

Expand Down

0 comments on commit f61c4c6

Please sign in to comment.