fileserver: Fix policy Validate() oversight (#6727)

This commit is contained in:
Francis Lavoie 2024-12-04 14:01:58 -05:00 committed by GitHub
parent fb72793269
commit d0123bd760
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -297,6 +297,7 @@ func (m MatchFile) Validate() error {
switch m.TryPolicy {
case "",
tryPolicyFirstExist,
tryPolicyFirstExistFallback,
tryPolicyLargestSize,
tryPolicySmallestSize,
tryPolicyMostRecentlyMod: