Shrink the 'monthly' interval from 32 weeks to 32 days
This commit is contained in:
committed by
Christian Schwarz
parent
9ab6f18f82
commit
5afbedbd87
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user