question: public DriverTask deleteVolumeMirror ( VolumeMirror mirror ) { LOG . info ( "Deleting volume mirror {}" , mirror ) ; DellSCDriverTask task = new DellSCDriverTask ( "deleteVolumeMirror" ) ; try { StorageCenterAPI api = connectionManager . getConnection ( mirror . getStorageSystemId ( ) ) ; ScCopyMirrorMigrate cmm = api . getMirror ( mirror . getNativeId ( ) ) ; api . deleteMirror ( cmm . instanceId ) ; api . deleteVolume ( cmm . destinationVolume . instanceId ) ; task . setStatus ( TaskStatus . READY ) ; } catch ( StorageCenterAPIException | DellSCDriverException dex ) { String error = String . format ( "Error deleting volume mirror %s: %s" , mirror . getNativeId ( ) , dex ) ; LOG . error ( error ) ; task . setFailed ( error ) ; } return task ; }
target:  Delete volume mirror and the destination volume.