Fix: should write file if provider initialize from HTTP (#1365)

This commit is contained in:
gVisor bot 2021-04-19 17:40:38 +08:00
parent 226e6d1b4d
commit 5bdc855565

View File

@ -72,6 +72,8 @@ func (f *fetcher) Initial() (interface{}, error) {
if err != nil {
return nil, err
}
isLocal = false
}
if f.vehicle.Type() != File && !isLocal {