mirror of
https://github.com/docker/cli.git
synced 2026-09-11 10:05:43 -05:00
Open code createDevice() and createSnapDevice() and move all the logic in the caller. This is a sheer code reorganization so that all device Id allocation logic is in one function. That way in case of erros, one can easily cleanup and mark device Id free again. (Later patches benefit from it). Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: 14d0dd855ee1e7cd1a3185c3d5a00e7afccb5c43 Component: engine