mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 13:26:11 +08:00
backend: Fix union eplus policy returned nil
This commit is contained in:
parent
e43b5ce5e5
commit
9beb0677e4
|
@ -39,7 +39,7 @@ func (p *EpLus) lus(upstreams []*upstream.Fs) (*upstream.Fs, error) {
|
|||
}
|
||||
|
||||
func (p *EpLus) lusEntries(entries []upstream.Entry) (upstream.Entry, error) {
|
||||
var minUsedSpace int64
|
||||
var minUsedSpace int64 = math.MaxInt64
|
||||
var lusEntry upstream.Entry
|
||||
for _, e := range entries {
|
||||
space, err := e.UpstreamFs().GetFreeSpace()
|
||||
|
|
Loading…
Reference in New Issue
Block a user