BioLockJ-Dev-Team / sheepdog_testing_suite

Test suite for BioLockJ development team.
3 stars 8 forks source link

docker volume consolidation #287

Closed IvoryC closed 3 years ago

IvoryC commented 3 years ago

When determining folders to mount as volumes, if a parent of the candidate folder is already on the list to mount, there is no reason to mount the child as well.

IvoryC commented 3 years ago

This consolidation was part of a bug fix, see commit "4a6dc88ba12abfde19228cd2dd001d1e454b2446" in BioLockJ repository.

BUG FIX when converting between container volumes and host files system, do no swap the root of the path unless it is an exact match at a file path sep point.

Be consistent about the match criteria when containerizing or decontainerizing file paths. A parent dir or an exact match, is suitable.