mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-09 00:56:37 +08:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -106,6 +106,9 @@ func retentionOr(ctx context.Context, key string) int {
|
|||||||
}
|
}
|
||||||
return defaultLogRetentionDays
|
return defaultLogRetentionDays
|
||||||
}
|
}
|
||||||
|
if v < 1 {
|
||||||
|
return defaultLogRetentionDays
|
||||||
|
}
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user