Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run: fix GetList return empty issue for throttledevice
Test "--device-read-bps" "--device-write-bps" will fail. The root cause is that GetList helper return empty as its local variable initialized to zero size. This patch fix it by setting the related slice size to non-zero. Signed-off-by: Jianyong Wu <[email protected]> Fixes: docker#5321 (cherry picked from commit 73e78a5) Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information