mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api: add TypeTmpfs to api/types/mount
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
@@ -24,7 +24,11 @@ func (daemon *Daemon) setupMounts(c *container.Container) ([]container.Mount, er
|
||||
var mounts []container.Mount
|
||||
// TODO: tmpfs mounts should be part of Mountpoints
|
||||
tmpfsMounts := make(map[string]bool)
|
||||
for _, m := range c.TmpfsMounts() {
|
||||
tmpfsMountInfo, err := c.TmpfsMounts()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
for _, m := range tmpfsMountInfo {
|
||||
tmpfsMounts[m.Destination] = true
|
||||
}
|
||||
for _, m := range c.MountPoints {
|
||||
|
||||
Reference in New Issue
Block a user