daemon: restore(): remove platform-check (was used for LCOW)
This was added in 0cba7740d4
, as part of
the LCOW implementation. LCOW support has been removed, so we can remove
this check.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
724feb898f
commit
6ccda5a041
1 changed files with 0 additions and 4 deletions
|
@ -239,10 +239,6 @@ func (daemon *Daemon) restore() error {
|
|||
log.WithError(err).Error("failed to load container")
|
||||
return
|
||||
}
|
||||
if !system.IsOSSupported(c.OS) {
|
||||
log.Errorf("failed to load container: %s (%q)", system.ErrNotSupportedOperatingSystem, c.OS)
|
||||
return
|
||||
}
|
||||
// Ignore the container if it does not support the current driver being used by the graph
|
||||
if (c.Driver == "" && daemon.graphDriver == "aufs") || c.Driver == daemon.graphDriver {
|
||||
rwlayer, err := daemon.imageService.GetLayerByID(c.ID)
|
||||
|
|
Loading…
Add table
Reference in a new issue