mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Preinitialize MountPoints to avoid assigning to a nil map
Fixes #13435 Signed-off-by: Darren Shepherd <darren@rancher.com>
This commit is contained in:
parent
628c396555
commit
59214a0737
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ func (daemon *Daemon) load(id string) (*Container, error) {
|
|||
CommonContainer: CommonContainer{
|
||||
State: NewState(),
|
||||
root: daemon.containerRoot(id),
|
||||
MountPoints: make(map[string]*mountPoint),
|
||||
execCommands: newExecStore(),
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue