From 250737949417df776779d07bdbbf8f797905d412 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 23 Feb 2018 03:19:20 +0900 Subject: [PATCH] restorable: Skip resolving stale images when possible --- internal/restorable/images.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/restorable/images.go b/internal/restorable/images.go index 299f82197..94043b355 100644 --- a/internal/restorable/images.go +++ b/internal/restorable/images.go @@ -57,6 +57,9 @@ func ResolveStaleImages() error { if err := graphics.FlushCommands(); err != nil { return err } + if !restoringEnabled { + return nil + } return theImages.resolveStaleImages() }