Merge pull request #403 from hqhq/hq_fix_comments

Fix comment to be consistent with the code
This commit is contained in:
Alexander Morozov 2015-11-16 10:49:18 -08:00
commit 476e467fc0
1 changed files with 1 additions and 2 deletions

View File

@ -290,8 +290,7 @@ func getCgroupMounts(m *configs.Mount) ([]*configs.Mount, error) {
return binds, nil
}
// checkMountDestination checks to ensure that the mount destination is not over the
// top of /proc or /sys.
// checkMountDestination checks to ensure that the mount destination is not over the top of /proc.
// dest is required to be an abs path and have any symlinks resolved before calling this function.
func checkMountDestination(rootfs, dest string) error {
if filepath.Clean(rootfs) == filepath.Clean(dest) {