From 7208f94c4f956bffd096ab444b4ef66b0cac3ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Lindh=C3=A9?= <7773090+lindhe@users.noreply.github.com> Date: Fri, 28 Feb 2025 08:42:39 +0100 Subject: [PATCH] Fix typo "Defaults is" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change fixes a minor typo in the Backup Hooks documentation, changing "Defaults is" to "Defaults to". Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com> --- site/content/docs/main/backup-hooks.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/content/docs/main/backup-hooks.md b/site/content/docs/main/backup-hooks.md index 5e1aef002..a3b50e892 100644 --- a/site/content/docs/main/backup-hooks.md +++ b/site/content/docs/main/backup-hooks.md @@ -29,9 +29,9 @@ You can use the following annotations on a pod to make Velero execute a hook whe * `pre.hook.backup.velero.io/command` * The command to execute. This command is not executed within a shell by default. If a shell is needed to run your command, include a shell command, like `/bin/sh`, that is supported by the container at the beginning of your command. If you need multiple arguments, specify the command as a JSON array, such as `["/usr/bin/uname", "-a"]`. See [examples of using pre hook commands](#backup-hook-commands-examples). Optional. * `pre.hook.backup.velero.io/on-error` - * What to do if the command returns a non-zero exit code. Defaults is `Fail`. Valid values are Fail and Continue. Optional. + * What to do if the command returns a non-zero exit code. Defaults to `Fail`. Valid values are Fail and Continue. Optional. * `pre.hook.backup.velero.io/timeout` - * How long to wait for the command to execute. The hook is considered in error if the command exceeds the timeout. Defaults is 30s. Optional. + * How long to wait for the command to execute. The hook is considered in error if the command exceeds the timeout. Defaults to 30s. Optional. #### Post hooks @@ -41,9 +41,9 @@ You can use the following annotations on a pod to make Velero execute a hook whe * `post.hook.backup.velero.io/command` * The command to execute. This command is not executed within a shell by default. If a shell is needed to run your command, include a shell command, like `/bin/sh`, that is supported by the container at the beginning of your command. If you need multiple arguments, specify the command as a JSON array, such as `["/usr/bin/uname", "-a"]`. See [examples of using pre hook commands](#backup-hook-commands-examples). Optional. * `post.hook.backup.velero.io/on-error` - * What to do if the command returns a non-zero exit code. Defaults is `Fail`. Valid values are Fail and Continue. Optional. + * What to do if the command returns a non-zero exit code. Defaults to `Fail`. Valid values are Fail and Continue. Optional. * `post.hook.backup.velero.io/timeout` - * How long to wait for the command to execute. The hook is considered in error if the command exceeds the timeout. Defaults is 30s. Optional. + * How long to wait for the command to execute. The hook is considered in error if the command exceeds the timeout. Defaults to 30s. Optional. ### Specifying Hooks in the Backup Spec