mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-16 10:29:54 +01:00
Shrink the 'monthly' interval from 32 weeks to 32 days
This commit is contained in:
parent
9ab6f18f82
commit
5afbedbd87
@ -598,7 +598,7 @@ func parseRetentionGridIntervalString(e string) (intervals []RetentionInterval,
|
||||
case "w":
|
||||
durationUnit = 24 * 7 * time.Hour
|
||||
case "mon":
|
||||
durationUnit = 32 * 24 * 7 * time.Hour
|
||||
durationUnit = 24 * 32 * time.Hour
|
||||
default:
|
||||
err = fmt.Errorf("contains unknown time unit '%s'", comps[3])
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user