Skip to content

Commit

Permalink
Use different date format
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Mar 27, 2024
1 parent 9d2b978 commit db311ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/endtoend/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function restoreBackup() {
fi

# Issue the PITR restore command to vtctldclient.
vtctldclient RestoreFromBackup --restore-to-timestamp $(date -u "+%Y-%m-%dT%H:%M:%S") "${tabletAlias}"
vtctldclient RestoreFromBackup --restore-to-timestamp $(date -u "+%Y-%m-%d.%H%M%S") "${tabletAlias}"

if [[ $? -ne 0 ]]; then
echo "Restore failed"
Expand Down

0 comments on commit db311ed

Please sign in to comment.