mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-14 02:33:51 +00:00
Merge pull request #13471 from ibuildthecloud/no-nil
Preinitialize MountPoints to avoid assigning to a nil map
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user