mirror of
https://github.com/docker/cli.git
synced 2026-09-11 10:05:43 -05:00
Create two new helper functions for device and snap device creation. These functions will not only create the device and also register the device. Again, makes the code structure better and keeps all transaction logic contained to functions instead of spilling over into functions like setupBaseImage or AddDevice(). Just the code reorganization. No functionality change. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: ad9118c696c0953ec48eec15ea4b7546296d7c20 Component: engine