When deleting volumes, convoy daemon will always log error
messages like following:
"Error open volume-e4956a83f67147c0: no such file or directory
when discarding volume-e4956a83f67147c0, ignored pkg=devmapper"
This patch fixes it by passing correct argument to the API
devicemapper.BlockDeviceDiscard which expects a full path of
a device instead of just device name.
When deleting volumes, convoy daemon will always log error messages like following:
"Error open volume-e4956a83f67147c0: no such file or directory when discarding volume-e4956a83f67147c0, ignored pkg=devmapper"
This patch fixes it by passing correct argument to the API devicemapper.BlockDeviceDiscard which expects a full path of a device instead of just device name.
Signed-off-by: Jin Xu jinuxstyle@hotmail.com