Merge the divided loops
Signed-off-by: Ryo Nakao <nakabonne@gmail.com>
This commit is contained in:
parent
dd94555787
commit
894ecb24d1
1 changed files with 2 additions and 4 deletions
|
@ -922,11 +922,9 @@ func NewDaemon(ctx context.Context, config *config.Config, pluginStore *plugin.S
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
// As layerstore initialization may set the driver
|
||||
for os := range d.graphDrivers {
|
||||
d.graphDrivers[os] = layerStores[os].DriverName()
|
||||
// As layerstore initialization may set the driver
|
||||
d.graphDrivers[operatingSystem] = layerStores[operatingSystem].DriverName()
|
||||
}
|
||||
|
||||
// Configure and validate the kernels security support. Note this is a Linux/FreeBSD
|
||||
|
|
Loading…
Add table
Reference in a new issue