Event '<storage name>-storage-detaching'
Event > List of events > Storage events >
This document describes the
<storage name>-storage-detaching event. The event allows a charm to perform cleanup tasks on a storage volume before that storage is dismounted and possibly destroyed.
This event is emitted when a request to detach storage has been processed. After the hook completes, the storage will be removed, and the charm will not have further opportunities to interact with it.
Observing this event in Ops
ops, you can observe the
remove event like you would any other:
The event object contains information about which volume was detached.
Last updated 5 months ago.