We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62bfca commit 5a87477Copy full SHA for 5a87477
internal/cmd/volume/backup/update/update.go
@@ -54,6 +54,14 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
54
return err
55
}
56
57
+ if !model.AssumeYes {
58
+ prompt := fmt.Sprintf("Are you sure you want to update backup %q? (This cannot be undone)", model.BackupId)
59
+ err = params.Printer.PromptForConfirmation(prompt)
60
+ if err != nil {
61
+ return err
62
+ }
63
64
+
65
// Configure API client
66
apiClient, err := client.ConfigureClient(params.Printer, params.CliVersion)
67
if err != nil {
0 commit comments