Remove unused mounted function in overlay
The mount check is now done by the FSChecker. This function is no longer needed and shouldn't be called. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) Upstream-commit: 5cc082473068b00dee123f8388a79d7a48842a57 Component: engine
This commit is contained in:
@ -374,10 +374,6 @@ func (d *Driver) Get(id string, mountLabel string) (s string, err error) {
|
||||
return mergedDir, nil
|
||||
}
|
||||
|
||||
func (d *Driver) mounted(dir string) (bool, error) {
|
||||
return graphdriver.Mounted(graphdriver.FsMagicOverlay, dir)
|
||||
}
|
||||
|
||||
// Put unmounts the mount path created for the give id.
|
||||
func (d *Driver) Put(id string) error {
|
||||
mountpoint := path.Join(d.dir(id), "merged")
|
||||
|
||||
Reference in New Issue
Block a user