@@ -39,10 +39,10 @@ func deleteBackup(
39
39
return nil , errors .New ("either --name or --older-than should be set" )
40
40
}
41
41
if d .name != "" && d .olderThan != "" {
42
- return nil , errors .New ("cannot use --name and --older-then at the same command" )
42
+ return nil , errors .New ("cannot use --name and --older-than at the same command" )
43
43
}
44
44
if d .bcpType != "" && d .olderThan == "" {
45
- return nil , errors .New ("cannot use --type without --older-then " )
45
+ return nil , errors .New ("cannot use --type without --older-than " )
46
46
}
47
47
if ! d .dryRun {
48
48
err := checkForAnotherOperation (ctx , pbm )
@@ -174,7 +174,7 @@ func deletePITR(
174
174
return nil , errors .New ("either --older-than or --all should be set" )
175
175
}
176
176
if d .olderThan != "" && d .all {
177
- return nil , errors .New ("cannot use --older-then and --all at the same command" )
177
+ return nil , errors .New ("cannot use --older-than and --all at the same command" )
178
178
}
179
179
if ! d .dryRun {
180
180
err := checkForAnotherOperation (ctx , pbm )
@@ -190,7 +190,7 @@ func deletePITR(
190
190
var err error
191
191
until , err = parseOlderThan (d .olderThan )
192
192
if err != nil {
193
- return nil , errors .Wrap (err , "parse --older-then " )
193
+ return nil , errors .Wrap (err , "parse --older-than " )
194
194
}
195
195
196
196
now := time .Now ().UTC ()
0 commit comments