Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcontainer/configs/validate: improve rootlessEUIDMount
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. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information