fileserver: Fix policy `Validate()` oversight (#6727)
parent
fb72793269
commit
d0123bd760
|
@ -297,6 +297,7 @@ func (m MatchFile) Validate() error {
|
||||||
switch m.TryPolicy {
|
switch m.TryPolicy {
|
||||||
case "",
|
case "",
|
||||||
tryPolicyFirstExist,
|
tryPolicyFirstExist,
|
||||||
|
tryPolicyFirstExistFallback,
|
||||||
tryPolicyLargestSize,
|
tryPolicyLargestSize,
|
||||||
tryPolicySmallestSize,
|
tryPolicySmallestSize,
|
||||||
tryPolicyMostRecentlyMod:
|
tryPolicyMostRecentlyMod:
|
||||||
|
|
Loading…
Reference in New Issue