cache: handle nil result from flightcontrol
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>v0.8
parent
0caddb1c72
commit
54908ec03f
|
@ -454,6 +454,9 @@ func (sr *immutableRef) prepareRemoteSnapshots(ctx context.Context, dhs DescHand
|
|||
// This layer cannot be prepared without unlazying.
|
||||
return false, nil
|
||||
})
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
return ok.(bool), err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue