mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix OS tweaks call
The feature was not getting properly triggered, move it as first operation in the configure Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
parent
23a2381954
commit
233aa636d7
1 changed files with 4 additions and 3 deletions
|
@ -180,6 +180,10 @@ func Fini(drv driverapi.Driver) {
|
|||
}
|
||||
|
||||
func (d *driver) configure() error {
|
||||
|
||||
// Apply OS specific kernel configs if needed
|
||||
d.initOS.Do(applyOStweaks)
|
||||
|
||||
if d.store == nil {
|
||||
return nil
|
||||
}
|
||||
|
@ -188,9 +192,6 @@ func (d *driver) configure() error {
|
|||
return d.initializeVxlanIdm()
|
||||
}
|
||||
|
||||
// Apply OS specific kernel configs if needed
|
||||
d.initOS.Do(applyOStweaks)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue