mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
746a5c23c9
1. Avoid splitting mount data into []string if it does not contain options we're interested in. This should result in slightly less garbage to collect. 2. Use if / else if instead of continue, to make it clearer that we're processing one option at a time. 3. Print the whole option as a sting in an error message; practically this should not have any effect, it's just simpler. 4. Improve some comments. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>